OSDN Git Service

Fix 404 on project page for unauthenticated user
authorJason Hollingsworth <jhworth.developer@gmail.com>
Tue, 3 Dec 2013 14:22:33 +0000 (08:22 -0600)
committerJason Hollingsworth <jhworth.developer@gmail.com>
Wed, 4 Dec 2013 19:10:20 +0000 (13:10 -0600)
commitc099074fcc96304d948cc028ff7ae5913b561ed3
treefcfb93fbd75f00c62b527d1829014bbf8b90c476
parent23d180f5f1905eb8d714daaf2d097767ff355817
Fix 404 on project page for unauthenticated user

Eliminate a 404 error when user is not logged in and attempts to visit
a project page.

The 404 page will still show up when user is logged in and the project
doesn’t exist or the user doesn’t have access.
CHANGELOG
app/controllers/application_controller.rb
features/project/redirects.feature [new file with mode: 0644]
features/public/public_projects.feature
features/steps/profile/profile.rb
features/steps/project/redirects.rb [new file with mode: 0644]
features/steps/shared/authentication.rb