gitlab-org--gitlab-foss/app/views/projects/blob
Johannes Schleifenbaum cc505f550d Check if a file is editied "on" a branch or a commit.
The previous behavior was a "disabled" link, which was still clickable
and linked to the edit file action.

If the 	user accesses a path like "/edit/master/README" show the file
edit form (just like before).

If the user accesses a path like
"/edit/8d5c1f375ce99e5df84e26b0eafbf1448c6a001e/README", redirect the
user to the file detail page with a note, that he cannot edit a file
"on" a commit.

fixes #5482
2013-10-30 11:34:26 +01:00
..
_actions.html.haml Check if a file is editied "on" a branch or a commit. 2013-10-30 11:34:26 +01:00
_blob.html.haml scss: rename file_content to file-content etc 2013-07-13 09:52:47 +03:00
_download.html.haml Fix blob and repo stuff after gitlab_git v3 2013-10-01 18:26:55 +03:00
_image.html.haml scss: rename file_content to file-content etc 2013-07-13 09:52:47 +03:00
_text.html.haml scss: rename file_content to file-content etc 2013-07-13 09:52:47 +03:00
show.html.haml Move projects controllers/views in Projects module 2013-06-23 19:47:22 +03:00