Sha256: 0d281e2d3fbf89bfd4684f40f00d09d9c1cf791137a10d2d9911906da4162f53
Contents?: true
Size: 435 Bytes
Versions: 4
Compression:
Stored size: 435 Bytes
Contents
class StatusCat::StatusController < ApplicationController layout :set_layout before_filter :_authenticate! before_filter :_authorize! def index @checkers = StatusCat::Status.all end private def set_layout return StatusCat.config.layout end def _authenticate! instance_eval( &StatusCat.config.authenticate_with ) end def _authorize! instance_eval( &StatusCat.config.authorize_with ) end end
Version data entries
4 entries across 4 versions & 1 rubygems