Sha256: a727979785a51ed144ba444dd261d32a2be765e8e0cbf1088f2cc1384a358f85
Contents?: true
Size: 447 Bytes
Versions: 25
Compression:
Stored size: 447 Bytes
Contents
class ApplicationController < ActionController::Base include MessageTrain::MessageTrainSupport # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception private def after_sign_in_path_for(resource_or_scope) message_train.box_path(:in) end def after_sign_out_path_for(resource_or_scope) message_train.box_path(:in) end end
Version data entries
25 entries across 25 versions & 1 rubygems