gitlab-org--gitlab-foss/spec/controllers
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
..
admin Fixes #14638. 2016-04-06 13:56:28 -03:00
ci Redirect to root path when visiting `/ci` 2016-03-29 08:04:17 +02:00
groups Remove group members check 2016-04-18 11:12:28 -03:00
import Fix duplicate repositories in GitHub import page 2015-10-19 10:39:59 -07:00
profiles Make /profile/keys/new redirects to /profile/keys for back-compat 2016-04-15 09:45:58 +02:00
projects Merge branch 'rs-diff_view' into 'master' 2016-04-22 07:49:46 +00:00
abuse_reports_controller_spec.rb Add `AbuseReport#notify` 2016-01-04 18:59:42 -05:00
application_controller_spec.rb Fix some specs 2016-03-20 22:55:08 +01:00
autocomplete_controller_spec.rb Merge branch 'master' into assign-to-issuable-opener 2016-04-15 14:38:15 +02:00
blob_controller_spec.rb Fix Style/AlignHash cop violations 2015-06-22 22:24:39 -07:00
commit_controller_spec.rb Add support to cherry-pick any commit 2016-04-18 15:39:07 +08:00
groups_controller_spec.rb Fix sorting issues/mrs by votes on the groups page 2016-03-21 17:01:38 -03:00
help_controller_spec.rb Fix Style/AlignHash cop violations 2015-06-22 22:24:39 -07:00
invites_controller_spec.rb Redirect to a default path if HTTP_REFERER is not set 2015-10-20 07:45:48 -07:00
namespaces_controller_spec.rb Fix more specs 2016-03-20 23:09:33 +01:00
projects_controller_spec.rb Fix Error 500 after renaming a project path 2016-04-05 11:18:13 -07:00
root_controller_spec.rb Implementing 'Groups View' and 'TODOs View' as options for dashboard preferences. 2016-03-24 19:59:54 +01:00
sent_notifications_controller_spec.rb Move a few controller specs to their correct locations 2016-02-18 21:50:49 -05:00
sessions_controller_spec.rb Make sessions controller specs more explicit 2016-04-07 13:16:48 +02:00
snippets_controller_spec.rb Fix raw private snippets access workflow 2015-11-25 18:16:27 -02:00
uploads_controller_spec.rb Fix more specs 2016-03-20 23:09:33 +01:00
users_controller_spec.rb Insert users check into api 2016-04-18 11:12:27 -03:00