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

Version Path
caboose-cms-1.0.2 app/controllers/caboose/admin_controller.rb
caboose-cms-1.0.1 app/controllers/caboose/admin_controller.rb
caboose-cms-0.9.228 app/controllers/caboose/admin_controller.rb
caboose-cms-0.9.227 app/controllers/caboose/admin_controller.rb
caboose-cms-0.9.226 app/controllers/caboose/admin_controller.rb
caboose-cms-0.9.225 app/controllers/caboose/admin_controller.rb
caboose-cms-0.9.224 app/controllers/caboose/admin_controller.rb
caboose-cms-0.9.223 app/controllers/caboose/admin_controller.rb
caboose-cms-0.9.222 app/controllers/caboose/admin_controller.rb
caboose-cms-0.9.221 app/controllers/caboose/admin_controller.rb
caboose-cms-0.9.220 app/controllers/caboose/admin_controller.rb
caboose-cms-0.9.219 app/controllers/caboose/admin_controller.rb
caboose-cms-0.9.218 app/controllers/caboose/admin_controller.rb
caboose-cms-0.9.217 app/controllers/caboose/admin_controller.rb
caboose-cms-0.9.216 app/controllers/caboose/admin_controller.rb
caboose-cms-0.9.215 app/controllers/caboose/admin_controller.rb
caboose-cms-0.9.214 app/controllers/caboose/admin_controller.rb
caboose-cms-0.9.213 app/controllers/caboose/admin_controller.rb
caboose-cms-0.9.212 app/controllers/caboose/admin_controller.rb
caboose-cms-0.9.211 app/controllers/caboose/admin_controller.rb