Sha256: 05bba9c49f8c1657ea4acb8e2e2f61548daae81194ecd5ae5533ff3afff563ab

Contents?: true

Size: 541 Bytes

Versions: 1

Compression:

Stored size: 541 Bytes

Contents

require_dependency "anubis/sso/client/index/actions"
require_dependency "anubis/sso/client/index/callbacks"

class Anubis::Sso::Client::IndexController < Anubis::Sso::Client::ApplicationController
  include Anubis::Sso::Client::Index::Actions
  include Anubis::Sso::Client::Index::Callbacks

  ##
  # Check if authentication required
  def check_menu_access?
    if controller_name == 'index'
      if action_name == 'login' || action_name == 'menu' || action_name == 'logout'
        return false
      end
    end
    return true
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
anoubis-1.0.0 app/controllers/anoubis/sso/client/index_controller.rb