File: application_controller.rb

package info (click to toggle)
ruby-rails-2.3 2.3.14-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,908 kB
  • sloc: ruby: 5,808; makefile: 28
file content (10 lines) | stat: -rw-r--r-- 430 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
# 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
  protect_from_forgery # See ActionController::RequestForgeryProtection for details

  # Scrub sensitive parameters from your log
  # filter_parameter_logging :password
end