diff options
author | Azul <azul@leap.se> | 2014-04-17 12:06:38 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-04-17 12:07:13 +0200 |
commit | 614745c84cab37dd03f2bd8f06160fd01c7fabdb (patch) | |
tree | 4f77bf89513949a99bd3821c856454e3e933d838 /config/defaults.yml | |
parent | 8cc5ba134f6c5a1a06d91407aa78b962545c54ac (diff) |
UnauthenticatedUser as current_user
this still allows us to do current_user.service_level.
Have not gone through the rest of the code yet.
Only made sure logged_in? now tests for is_a? User instead of !!current_user
Diffstat (limited to 'config/defaults.yml')
-rw-r--r-- | config/defaults.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/defaults.yml b/config/defaults.yml index e7d0f5e..47c3ad7 100644 --- a/config/defaults.yml +++ b/config/defaults.yml @@ -67,6 +67,7 @@ service_levels: &service_levels USD: 10 EUR: 10 default_service_level: 1 + unauthenticated_service_level: 0 development: <<: *downloads |