samples/access_rules.rb in tuersteher-0.6.7 vs samples/access_rules.rb in tuersteher-0.7.0

- old
+ new

@@ -15,9 +15,10 @@ # <method>: HTTP-Method name as Symbol (:get, :put, :post, :delete) or :all path('/').grant.method(:get) path(:all).grant.role(:ADMIN) path('/user/lock').deny.role(:USER).role(:APPROVER) +path('/statistic').grant.right(:STATISTIK_SHOW) path('/special').grant.extension(:special?, :area1) path('/pictures') do grant.role(:admin) deny.role(:guest) end