Sha256: a5bb30264000d806146c67c0994e3c5291d0c5913c192d9e55fa4a7f4338f5ad
Contents?: true
Size: 482 Bytes
Versions: 25
Compression:
Stored size: 482 Bytes
Contents
module Caboose class AdminController < ApplicationController # @route 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 # @route GET /station def station @user = logged_in_user render :layout => 'caboose/station' end end end
Version data entries
25 entries across 25 versions & 1 rubygems