Skip to content

Commit

Permalink
Merge pull request #143 from aliahmedgroupdocs/master
Browse files Browse the repository at this point in the history
Rename Document Pages to Document Info
  • Loading branch information
Ali Ahmed Sahi committed Jun 29, 2017
2 parents a17c39c + 0ce5b15 commit 8395d09
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,8 @@ ngApp.factory('FilesFactory', function ($resource) {
});
});

ngApp.factory('DocumentInfoFactory', function ($resource) {
return $resource('/document/info?file=:filename', {}, {
get: {
method: 'GET'
}
});
});

ngApp.factory('DocumentPagesFactory', function ($resource) {
return $resource('/document/pages?file=:filename', {}, {
return $resource('/document/info?file=:filename', {}, {
query: {
method: 'GET',
isArray: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

namespace Viewer_Modren_UI.Controllers
{
[RoutePrefix("document/pages")]
public class DocumentPagesController : Controller
[RoutePrefix("document/info")]
public class DocumentInfoController : Controller
{
[HttpGet]
[Route("")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
<Compile Include="App_Start\RouteConfig.cs" />
<Compile Include="Controllers\AttachmentHtmlController.cs" />
<Compile Include="Controllers\AttachmentImageController.cs" />
<Compile Include="Controllers\DocumentPagesController.cs" />
<Compile Include="Controllers\DocumentInfoController.cs" />
<Compile Include="Controllers\DownloadOriginalController.cs" />
<Compile Include="Controllers\DownloadPdfController.cs" />
<Compile Include="Controllers\FileListController.cs" />
Expand Down Expand Up @@ -140,8 +140,6 @@
<Folder Include="App_Data\cache\" />
<Folder Include="App_Data\temp\" />
<Folder Include="Models\" />
<Folder Include="Views\AttachmentHtml\" />
<Folder Include="Views\AttachmentImage\" />
</ItemGroup>
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
Expand Down

0 comments on commit 8395d09

Please sign in to comment.