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