Sha256: 8b99297bd230482812e389524152b58a231c33ee49150c11f63c71e647d23204
Contents?: true
Size: 530 Bytes
Versions: 9
Compression:
Stored size: 530 Bytes
Contents
# 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 def test_3 render :text => read_fragment('test_3').inspect, :layout => 'application' end end
Version data entries
9 entries across 9 versions & 1 rubygems