I know that a good number of routing issue has been fixed already thanks to @hiroponz ( #3154 ) This one however probably clash with the appended /edit when using the web editor.
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related.
Learn more.
Sorry the error was 404 before so I assumed it was still the problem because it's pretty much the same behavior as before. The rails logs has no error message.
Given I click on a folder called edit, the section showing the files will transition into the same folder. If I access it by using the url (tree/develop/views/admin/edit) it will notify "You can only edit text files"
Given I click on a file called edit.php, the section showing the files will transition into blank. If I access it by url ( tree/develop/views/admin/edit.php ) I will get to the file but with the web editor loaded.
By Administrator on 2013-03-20T11:28:03 (imported from GitLab project)
By Administrator on 2013-03-20T11:28:03 (imported from GitLab)
I have understood this problem. But it may be difficult to solve, because trailing "/edit" is a default routing path of rails.
So I have no idea to solve this easily.
By Administrator on 2013-03-20T15:46:20 (imported from GitLab project)
By Administrator on 2013-03-20T15:46:20 (imported from GitLab)
Every other paths concerning a file will change the keywork in the url before the branch.
ex :
project/tree/master/myfile.extproject/blame/master/myfile.extproject/commits/master/myfile.ext
so to stay consistant I would use
project/edit/master/myfile.ext instead of project/tree/master/myfile.ext/edit
I don't know if it would be difficult to implement as I'm not very familiar with Rails
By Administrator on 2013-03-21T12:46:13 (imported from GitLab project)
By Administrator on 2013-03-21T12:46:13 (imported from GitLab)