gitlab-org--gitlab-foss/app
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
..
assets Use same color for event body 2013-10-28 11:06:39 +02:00
contexts Show branches list (which branches contains commit) on commit page 2013-10-21 22:54:37 +04:00
controllers Check if a file is editied "on" a branch or a commit. 2013-10-30 11:34:26 +01:00
helpers Show branches list (which branches contains commit) on commit page 2013-10-21 22:54:37 +04:00
mailers Fix the sigil for merge request emails 2013-10-08 11:32:26 -07:00
models API: set gitlab-ci service for project 2013-10-29 16:39:46 +02:00
observers Fix GollumWiki::CouldNotCreateWikiError during tests 2013-10-17 09:48:35 +03:00
services Include project_id in webhook payload. 2013-10-14 12:03:25 +02:00
uploaders Fixes grack authentification under relative_url_root 2013-08-15 21:25:09 +02:00
views Check if a file is editied "on" a branch or a commit. 2013-10-30 11:34:26 +01:00
workers Repository import during project creation often return timeout for medium and large repos. 2013-08-12 18:21:47 +03:00