Sha256: 71e03ec48cb09e6a55aa77b53690fc296ba79d3619b7d9e468b6570267baf681
Contents?: true
Size: 466 Bytes
Versions: 15
Compression:
Stored size: 466 Bytes
Contents
require 'application_responder' class ApplicationController < ActionController::Base self.responder = ApplicationResponder respond_to :html, :json WillPaginate.per_page = 10 # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception def after_sign_in_path_for(resource_or_scope) if current_user super else hq_dashboard_index_path end end end
Version data entries
15 entries across 15 versions & 1 rubygems