lib/typus/authentication/base.rb in typus-3.1.0.rc11 vs lib/typus/authentication/base.rb in typus-3.1.0.rc12

- old
+ new

@@ -13,8 +13,12 @@ def check_resource_ownership; end def check_resources_ownership; end def set_attributes_on_create; end def set_attributes_on_update; end + def not_allowed + render :text => "Not allowed!", :status => :unprocessable_entity + end + end end end