mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-22 18:20:12 +01:00
10 lines
452 B
Ruby
10 lines
452 B
Ruby
# Filters added to this controller apply to all controllers in the application.
|
|
# Likewise, all the methods added will be available for all controllers.
|
|
|
|
class ApplicationController < ActionController::Base
|
|
helper :all # include all helpers, all the time
|
|
|
|
# See ActionController::RequestForgeryProtection for details
|
|
# Uncomment the :secret if you're not using the cookie session store
|
|
protect_from_forgery # :secret => '<%= app_secret %>'
|
|
end
|