class Yus::TokenSession

Public Instance Methods

allowed?(*args) click to toggle source
Calls superclass method Yus::EntitySession#allowed?
# File lib/yus/session.rb, line 334
def allowed?(*args) # TokenSession
  key, arg, = args
  if key == 'set_password' || ( key == 'edit' && arg == 'yus.entities' )
    false
  else
    super
  end
end