Sha256: 27aff31073f6a93f810fb695c5a5cdd209be19f4cd63f61411064531ecf713f8

Contents?: true

Size: 462 Bytes

Versions: 99

Compression:

Stored size: 462 Bytes

Contents

module Caboose
  class AdminController < ApplicationController
      
    # GET /admin
    def index
      return if !user_is_allowed('admin', 'view')
      #if logged_in?
      #  redirect_to '/admin/pages'
      #  return
      #end
      @return_url = params[:return_url].nil? ? '/admin/pages' : params[:return_url]
    end
    
    # GET /station
    def station
      @user = logged_in_user
      render :layout => 'caboose/station'
    end
    
  end
end

Version data entries

99 entries across 99 versions & 1 rubygems

Version Path
caboose-cms-0.7.28 app/controllers/caboose/admin_controller.rb
caboose-cms-0.7.27 app/controllers/caboose/admin_controller.rb
caboose-cms-0.7.26 app/controllers/caboose/admin_controller.rb
caboose-cms-0.7.25 app/controllers/caboose/admin_controller.rb
caboose-cms-0.7.24 app/controllers/caboose/admin_controller.rb
caboose-cms-0.7.23 app/controllers/caboose/admin_controller.rb
caboose-cms-0.7.22 app/controllers/caboose/admin_controller.rb
caboose-cms-0.7.21 app/controllers/caboose/admin_controller.rb
caboose-cms-0.7.20 app/controllers/caboose/admin_controller.rb
caboose-cms-0.7.19 app/controllers/caboose/admin_controller.rb
caboose-cms-0.7.18 app/controllers/caboose/admin_controller.rb
caboose-cms-0.7.17 app/controllers/caboose/admin_controller.rb
caboose-cms-0.7.16 app/controllers/caboose/admin_controller.rb
caboose-cms-0.7.15 app/controllers/caboose/admin_controller.rb
caboose-cms-0.7.14 app/controllers/caboose/admin_controller.rb
caboose-cms-0.7.13 app/controllers/caboose/admin_controller.rb
caboose-cms-0.7.12 app/controllers/caboose/admin_controller.rb
caboose-cms-0.7.11 app/controllers/caboose/admin_controller.rb
caboose-cms-0.7.10 app/controllers/caboose/admin_controller.rb
caboose-cms-0.7.9 app/controllers/caboose/admin_controller.rb