Sha256: 4fe74cda3cc363ed24744c604d1e9cc17128a4b0b1e72ae17e73b70bdda6cf9d

Contents?: true

Size: 547 Bytes

Versions: 5

Compression:

Stored size: 547 Bytes

Contents

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

class Anoubis::Sso::Client::IndexController < Anoubis::Sso::Client::ApplicationController
  include Anoubis::Sso::Client::Index::Actions
  include Anoubis::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

5 entries across 5 versions & 1 rubygems

Version Path
anoubis-1.0.12 app/controllers/anoubis/sso/client/index_controller.rb
anoubis-1.0.11 app/controllers/anoubis/sso/client/index_controller.rb
anoubis-1.0.10 app/controllers/anoubis/sso/client/index_controller.rb
anoubis-1.0.8 app/controllers/anoubis/sso/client/index_controller.rb
anoubis-1.0.7 app/controllers/anoubis/sso/client/index_controller.rb