Bug fixes
* Index.aspx: Gives this page a title * AdminController.cs: Trying to fix this Index : /Admin ... a 404 * YavscModel.csproj: * Commande.cs: * FileSystemController.cs: * WebFileSystemManager.cs: Refactoring the name of the files manager class * Index.aspx: Fixes the file system access * RemoveRole.aspx: Role removal form, had not a canonical name! * Web.csproj: a page was renamed
This commit is contained in:
parent
0b1b8f9a81
commit
2a30ae85a9
11 changed files with 50 additions and 25 deletions
|
|
@ -29,7 +29,8 @@ namespace Yavsc.Controllers
|
|||
YavscHelpers.Notify (ViewData, roleName + " " + LocalizedText.role_created);
|
||||
|
||||
}
|
||||
return View ("Index");
|
||||
|
||||
return View ();
|
||||
}
|
||||
/// <summary>
|
||||
/// Inits the db.
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ namespace Yavsc.Controllers
|
|||
[Authorize]
|
||||
public ActionResult Index (string user, string filename)
|
||||
{
|
||||
FileSystemManager fsmgr = new FileSystemManager ();
|
||||
WebFileSystemManager fsmgr = new WebFileSystemManager ();
|
||||
var files = fsmgr.GetFiles (user,filename);
|
||||
return View (files);
|
||||
}
|
||||
|
|
@ -54,7 +54,7 @@ namespace Yavsc.Controllers
|
|||
/// <param name="filename">Filename.</param>
|
||||
public ActionResult Details (string user, string filename)
|
||||
{
|
||||
FileSystemManager fsmgr = new FileSystemManager ();
|
||||
WebFileSystemManager fsmgr = new WebFileSystemManager ();
|
||||
FileInfo fi = fsmgr.FileInfo (filename);
|
||||
|
||||
ViewData ["filename"] = filename;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue