gitlab-org--gitlab-foss/app/controllers
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
..
admin Fix for issue #5431 2013-10-24 19:27:23 +02:00
profiles Fix spinach profile tests 2013-10-09 17:01:04 +03:00
projects Check if a file is editied "on" a branch or a commit. 2013-10-30 11:34:26 +01:00
public
application_controller.rb Fixing unsafe use of Thread.current variable :current_user 2013-10-16 01:20:53 -04:00
dashboard_controller.rb
errors_controller.rb
files_controller.rb
groups_controller.rb
help_controller.rb
omniauth_callbacks_controller.rb
profiles_controller.rb Restyle Profile#Account page 2013-10-09 16:43:24 +03:00
projects_controller.rb
registrations_controller.rb
search_controller.rb
snippets_controller.rb
users_controller.rb
users_groups_controller.rb