show the ask followers modal only for signed in users

This commit is contained in:
nilsding 2014-12-08 13:10:25 +01:00
parent 69e55f001e
commit da97b7dcf4
1 changed files with 2 additions and 1 deletions

View File

@ -31,4 +31,5 @@
= nav_entry "Sign in", new_user_session_path
= nav_entry "Sign up", new_user_registration_path
- if user_signed_in?
= render 'shared/modal_ask_followers'