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.6.24 app/controllers/caboose/admin_controller.rb
caboose-cms-0.6.23 app/controllers/caboose/admin_controller.rb
caboose-cms-0.6.22 app/controllers/caboose/admin_controller.rb
caboose-cms-0.6.21 app/controllers/caboose/admin_controller.rb
caboose-cms-0.6.20 app/controllers/caboose/admin_controller.rb
caboose-cms-0.6.19 app/controllers/caboose/admin_controller.rb
caboose-cms-0.6.18 app/controllers/caboose/admin_controller.rb
caboose-cms-0.6.17 app/controllers/caboose/admin_controller.rb
caboose-cms-0.6.16 app/controllers/caboose/admin_controller.rb
caboose-cms-0.6.15 app/controllers/caboose/admin_controller.rb
caboose-cms-0.6.14 app/controllers/caboose/admin_controller.rb
caboose-cms-0.6.13 app/controllers/caboose/admin_controller.rb
caboose-cms-0.6.12 app/controllers/caboose/admin_controller.rb
caboose-cms-0.6.11 app/controllers/caboose/admin_controller.rb
caboose-cms-0.6.10 app/controllers/caboose/admin_controller.rb
caboose-cms-0.6.9 app/controllers/caboose/admin_controller.rb
caboose-cms-0.6.8 app/controllers/caboose/admin_controller.rb
caboose-cms-0.6.7 app/controllers/caboose/admin_controller.rb
caboose-cms-0.6.6 app/controllers/caboose/admin_controller.rb
caboose-cms-0.6.5 app/controllers/caboose/admin_controller.rb