Sha256: ec9f7eb598533377247eecd589ad3e5f6b1898c7165842062d0d4ae42c708d3f

Contents?: true

Size: 209 Bytes

Versions: 8

Compression:

Stored size: 209 Bytes

Contents

module Oxen
  class ApplicationController < ::ApplicationController
    protect_from_forgery with: :exception
    need_role :root,:teacher,:student
    helper_method :is_login?,:is_root?,:need_login
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
oxen-0.0.9 app/controllers/oxen/application_controller.rb
oxen-0.0.7 app/controllers/oxen/application_controller.rb
oxen-0.0.6 app/controllers/oxen/application_controller.rb
oxen-0.0.5 app/controllers/oxen/application_controller.rb
oxen-0.0.4 app/controllers/oxen/application_controller.rb
oxen-0.0.3 app/controllers/oxen/application_controller.rb
oxen-0.0.2 app/controllers/oxen/application_controller.rb
oxen-0.0.1 app/controllers/oxen/application_controller.rb