lib/goma/controllers.rb in goma-0.0.1.rc2 vs lib/goma/controllers.rb in goma-0.0.1.rc3
- old
+ new
@@ -111,10 +111,10 @@
def return_to_url_key(scope)
"#{scope}_return_to"
end
def not_authenticated
- redirect_to root_path
+ redirect_to root_path, alert: 'Login required'
end
end
end