Sha256: b002d90a3c0f10b7f9d19e93982b3508b128e87bc3ef8719262132eea66f00f1
Contents?: true
Size: 464 Bytes
Versions: 3
Compression:
Stored size: 464 Bytes
Contents
module Mks module Auth class ApplicationController < ActionController::Base include AccessHelper include ApplicationHelper private def confirm_logged_in if session[:user_id] true else redirect_to '/' false end end protected def verified_request? super || valid_authenticity_token?(session, request.headers['X-XSRF-TOKEN']) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems