lib/simple_auth/config.rb in simple_auth-3.1.1 vs lib/simple_auth/config.rb in simple_auth-3.1.2
- old
+ new
@@ -14,9 +14,13 @@
# Set the logged url.
# This will be used to redirect logged users to the dashboard page.
# Default to `dashboard_path`.
attr_accessor :logged_url
+ # Set the flash message key.
+ # This will be used when setting messages for unlogged/unauthorized users.
+ attr_accessor :flash_message_key
+
def install_helpers!
::ActionController::Base.include SimpleAuth::ActionController
end
end
end