Sha256: ceea72efe897b4556fb377a771c4f85437cbeb5c17979b53ef7c8f8f4bbb785f
Contents?: true
Size: 365 Bytes
Versions: 4
Compression:
Stored size: 365 Bytes
Contents
module Corkboard class ApplicationController < ActionController::Base def auth_admin send(Corkboard.authentication[:admin]) if Corkboard.authentication[:admin] end def auth_board send(Corkboard.authentication[:board]) if Corkboard.authentication[:board] end def disallow! raise Corkboard::ActionForbidden end end end
Version data entries
4 entries across 4 versions & 1 rubygems