lib/miau/run.rb in miau-1.1.6 vs lib/miau/run.rb in miau-1.1.7
- old
+ new
@@ -34,15 +34,15 @@
}
true
end
def raise_undef(policy, action)
- msg = "NotDefined policy <#{policy}> action <#{action}>"
+ msg = "policy <#{policy}> action <#{action}>"
raise NotDefinedError, msg
end
def raise_authorize(controller, action)
- msg = "NotAuthorized controller <#{controller}> action <#{action}>"
+ msg = "controller <#{controller}> action <#{action}>"
raise NotAuthorizedError, msg
end
end
end