From a165822a7bd663916cff9484a76e6bb6bcf9a353 Mon Sep 17 00:00:00 2001 From: mr Date: Mon, 25 Jan 2010 09:29:21 +0100 Subject: internal authorization with first user of users.yaml --- lib/authorization.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/authorization.rb') 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 -- cgit v1.2.3