Sha256: fc30066c313d3f3e27fdd29816aa8b691fa657fb51fef77b32febdf243b7e0e7
Contents?: true
Size: 180 Bytes
Versions: 8
Compression:
Stored size: 180 Bytes
Contents
class StudyEngine::Admin::ApplicationController < StudyEngine::ApplicationController def require_admin head :forbidden and return false unless current_user.admin? end end
Version data entries
8 entries across 8 versions & 1 rubygems