summaryrefslogtreecommitdiff
path: root/lib/api/api.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-01-23 16:08:15 -0800
committerRobert Speicher <rspeicher@gmail.com>2016-01-23 16:10:13 -0800
commita7c4d0da8c7a340efd7b92718cd0f9436f2ec56f (patch)
tree7816d8eef06f84c5f8f7e12e998adf58b7692085 /lib/api/api.rb
parent5409fc49bd7fb1e24f048ec5b8931b216b6ceda8 (diff)
downloadgitlab-ce-a7c4d0da8c7a340efd7b92718cd0f9436f2ec56f.tar.gz
Make the `/groups` route behave as expectedrs-groups-index
The route is supposed to redirect the Groups#index request based on whether or not a user was logged in. If they are, we redirect them to their groups dashboard; if they're not, we redirect them to the public Explore page. But due to overly aggressive `before_action`s that weren't excluding the `index` action, the request always resulted in a 404, whether a user was logged in or not. Closes #12660
Diffstat (limited to 'lib/api/api.rb')
0 files changed, 0 insertions, 0 deletions