Cleaned up all blog urls to go through UrlHelper extension methods so refactoring is easier (except for the admin menu which only works with Action links at the moment) and added admin menu items for blogs.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4041918
This commit is contained in:
ErikPorter
2009-11-23 18:20:54 +00:00
parent 215e0f012a
commit cdc9d11cae
14 changed files with 139 additions and 21 deletions

View File

@@ -61,8 +61,10 @@
<Reference Include="System.Web.Mobile" />
</ItemGroup>
<ItemGroup>
<Compile Include="AdminMenu.cs" />
<Compile Include="Controllers\BlogPostController.cs" />
<Compile Include="Extensions\BlogCreateViewModelExtensions.cs" />
<Compile Include="Extensions\UrlHelperExtensions.cs" />
<Compile Include="Routing\IsBlogConstraint.cs" />
<Compile Include="Services\BlogService.cs" />
<Compile Include="Controllers\BlogController.cs" />
@@ -90,6 +92,11 @@
<Content Include="Views\Blog\Edit.aspx" />
<Content Include="Views\Blog\Item.aspx" />
<Content Include="Views\Blog\List.aspx" />
<Content Include="Views\Shared\Foot.aspx" />
<Content Include="Views\Shared\Footer.aspx" />
<Content Include="Views\Shared\Head.aspx" />
<Content Include="Views\Shared\Header.aspx" />
<Content Include="Views\Shared\Messages.ascx" />
<Content Include="Web.config" />
<Content Include="Views\Web.config" />
</ItemGroup>