Revision 84c62e37
Added by Marc Dequènes almost 14 years ago
- ID 84c62e374dbd4e29acfa46858dbaafa3c14aa9b7
app/controllers/application_controller.rb | ||
---|---|---|
rescue_from ActiveRecord::RecordNotFound, :with => :render_404
|
||
|
||
# See ActionController::RequestForgeryProtection for details
|
||
# Uncomment the :secret if you're not using the cookie session store
|
||
protect_from_forgery :secret => MyCyma::Config.instance.session_secret
|
||
protect_from_forgery
|
||
|
||
filter_parameter_logging :password
|
||
|
Also available in: Unified diff
[evol] rails migration: step #2