Factoring, Refactoring
* App.master: * yavscModel.csproj: * UserPost.aspx: * UserPosts.aspx: * StatusChange.cs: * IContentProvider.cs: * NpgsqlContentProvider.cs: * BlogsController.cs: unwanted message "Blogs" * style.css: More visibility for messages and error
This commit is contained in:
parent
1307b62ecb
commit
71f1cfcf20
9 changed files with 49 additions and 29 deletions
|
|
@ -43,7 +43,6 @@ namespace Yavsc.Controllers
|
|||
public ActionResult Index (string user = null, string title = null, int pageIndex=0, int pageSize=10)
|
||||
{
|
||||
if (string.IsNullOrEmpty (user)) {
|
||||
ViewData ["Message"] = "Blogs";
|
||||
return BlogList (pageIndex, pageSize);
|
||||
} else {
|
||||
MembershipUser u = Membership.GetUser (user, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue