Sha256: da77242fe2b417b0e5dfcdf5e93c3c18bf392cee698305d328000eeae464c6d2
Contents?: true
Size: 360 Bytes
Versions: 22
Compression:
Stored size: 360 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 protect_from_forgery before_filter :current_user, :unless => :devise_controller? before_filter :authenticate_user!, :if => :devise_controller? end
Version data entries
22 entries across 17 versions & 5 rubygems