Sha256: 2e7188b775a345415fa0153c011745d561f56ae2f3973ff6242af4a10d0cd40a
Contents?: true
Size: 404 Bytes
Versions: 17
Compression:
Stored size: 404 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
17 entries across 17 versions & 1 rubygems