Sha256: 73aa94b087bd8f8b043f84b1bfc1aa87ad68c09f48e0fe391419d63e5f9bc5cd
Contents?: true
Size: 398 Bytes
Versions: 35
Compression:
Stored size: 398 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? respond_to *Mime::SET.map(&:to_sym) end
Version data entries
35 entries across 35 versions & 6 rubygems