Sha256: 3a4938795ede48710b45f2879d55beaf8fa899eb46da5ae8f8b6611e6801b0fe
Contents?: true
Size: 300 Bytes
Versions: 13
Compression:
Stored size: 300 Bytes
Contents
class Manage::ConfigsController < Manage::ApplicationController before_action :limit_access_admin respond_to :html, :json def show respond_with(Rails.configuration.hackathon) end private def limit_access_admin redirect_to manage_root_path unless current_user.admin? end end
Version data entries
13 entries across 13 versions & 1 rubygems