Class: Anoubis::Sso::Client::IndexController

Inherits:
ApplicationController
  • Object
show all
Includes:
Anoubis::Sso::Client::Index::Actions, Anoubis::Sso::Client::Index::Callbacks
Defined in:
app/controllers/anoubis/sso/client/index_controller.rb

Instance Method Summary collapse

Instance Method Details

#check_menu_access?Boolean

Check if authentication required

Returns:

  • (Boolean)


10
11
12
13
14
15
16
17
# File 'app/controllers/anoubis/sso/client/index_controller.rb', line 10

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