Sha256: 1e83c3bb19dac6bab1d37a23ea48e5991f94fd6424dd4fc41b6a7d4b9bd3ae07
Contents?: true
Size: 272 Bytes
Versions: 35
Compression:
Stored size: 272 Bytes
Contents
module Caboose class AdminController < ApplicationController # @route GET /admin def index return if !user_is_allowed('admin', 'view') @return_url = params[:return_url].nil? ? '/admin/pages' : params[:return_url] end end end
Version data entries
35 entries across 35 versions & 1 rubygems