Sha256: cddc2e188a80a86bb8d9d06dd67e673ce817b3a9b19cc625638c2d24a943ef51
Contents?: true
Size: 392 Bytes
Versions: 8
Compression:
Stored size: 392 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
8 entries across 8 versions & 2 rubygems