# File lib/generators/nifty/authentication/templates/controller_authentication.rb, line 43 def login_required unless logged_in? store_target_location redirect_to login_url, :alert => "You must first log in or sign up before accessing this page." end end