Sha256: 22574fcdec78fdf7b689d7e5d45199d0e5cfcd8dc260fb6e5ba4c75a6f145c8a
Contents?: true
Size: 680 Bytes
Versions: 1
Compression:
Stored size: 680 Bytes
Contents
module Caboose class StationController < ApplicationController layout 'caboose/modal' # GET /station def index @user = logged_in_user if (@user.nil? || @user == Caboose::User.logged_out_user) redirect_to "/login" end end # GET /station/plugin-count def plugin_count render :json => Caboose::plugins.count end # PUT /admin/station def index_admin session[:caboose_station_state] = params[:state] session[:caboose_station_open_tabs] = params[:open_tabs] session[:caboose_station_return_url] = params[:return_url] render :json => true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
caboose-cms-0.2.5 | app/controllers/caboose/station_controller.rb |