Sha256: 69402d7f525644e17d1ae23b28c6870be0fe04782fb4435dcb77f0bf96b1bb42

Contents?: true

Size: 235 Bytes

Versions: 21

Compression:

Stored size: 235 Bytes

Contents

class Manage::ConfigsController < Manage::ApplicationController
  before_action :limit_access_admin

  def show
  end

  private

  def limit_access_admin
    redirect_to manage_root_path if current_user.admin_limited_access
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
hackathon_manager-0.5.7 app/controllers/manage/configs_controller.rb