diff options
author | mr <mr@mrautenberg.de> | 2010-01-25 09:29:21 +0100 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2010-01-25 09:29:21 +0100 |
commit | a165822a7bd663916cff9484a76e6bb6bcf9a353 (patch) | |
tree | 4f33445db772b87ccead41b75e686be144ad3bb1 /lib/authorization.rb | |
parent | 4c2ac1a90b686b0e4bc361403770e0756bbfbdf9 (diff) |
internal authorization with first user of users.yaml
Diffstat (limited to 'lib/authorization.rb')
-rw-r--r-- | lib/authorization.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/authorization.rb b/lib/authorization.rb index 6abbc91..372d52b 100644 --- a/lib/authorization.rb +++ b/lib/authorization.rb @@ -20,5 +20,5 @@ helpers do end before do - #protected! unless env['REQUEST_METHOD'] == "GET" + protected! unless env['REQUEST_METHOD'] == "GET" end
\ No newline at end of file |