gitlab-org--gitlab-foss/spec/controllers/projects
Rémy Coutable 5a8873f362 Merge branch 'rs-diff_view' into 'master'
Always read diff_view setting from the cookie

Prior, when the user had their view set to "parallel" and then visited a
merge request's changes tab _without_ passing the `view` parameter via
query string, the view would be parallel but the `Notes` class was
always instantiated with the default value from `diff_view` ("inline"),
resulting in broken markup when the form to add a line note was
dynamically inserted.

The cookie is set whenever the view is changed, so this value should
always be up-to-date.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/14557 and https://gitlab.com/gitlab-org/gitlab-ce/issues/15285

See merge request !3732
2016-04-22 07:49:46 +00:00
..
avatars_controller_spec.rb Fix specs 2016-03-21 09:09:59 +01:00
blame_controller_spec.rb
branches_controller_spec.rb Return status code 303 after a branch DELETE operation to avoid project deletion 2016-04-06 21:11:10 -07:00
commit_controller_spec.rb
commits_controller_spec.rb
compare_controller_spec.rb
find_file_controller_spec.rb
forks_controller_spec.rb
group_links_controller_spec.rb Check permissions when sharing project with group 2016-04-19 12:15:56 +02:00
imports_controller_spec.rb Fix denting and spec 2016-03-13 13:44:31 +01:00
issues_controller_spec.rb Merge branch 'master' into 2489-soft-delete-issues 2016-03-21 19:32:37 +01:00
merge_requests_controller_spec.rb Clarify that the diff view setting always comes from the cookie 2016-04-19 17:47:58 -04:00
milestones_controller_spec.rb
notification_settings_controller_spec.rb Fix specs for Projects::NotificationSettingsController 2016-04-12 12:57:39 -03:00
project_members_controller_spec.rb Add changelog entry and fix convention in a spec 2016-04-20 12:41:35 -03:00
protected_branches_controller_spec.rb
raw_controller_spec.rb
refs_controller_spec.rb
repositories_controller_spec.rb
services_controller_spec.rb
snippets_controller_spec.rb Ensure private project snippets are not viewable by unauthorized people 2016-03-25 12:33:42 +01:00
tree_controller_spec.rb
uploads_controller_spec.rb