8a5d3b2e5d
In single user mode, visitors are redirected to the single user's profile page. So, if you are the owner without a session, you start from that page, click the login button and authenticate yourself expecting you'll soon get started with the home page, but in reality you'll get redirected back to where you started from -- your own profile page. This fixes the behavior by redirecting you home after login if you have started from your own profile page. |
||
---|---|---|
.. | ||
registrations_controller_spec.rb | ||
sessions_controller_spec.rb |