summaryrefslogtreecommitdiff
path: root/app/controllers/v1/services_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/v1/services_controller.rb')
-rw-r--r--app/controllers/v1/services_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/v1/services_controller.rb b/app/controllers/v1/services_controller.rb
index 114870f..523eb44 100644
--- a/app/controllers/v1/services_controller.rb
+++ b/app/controllers/v1/services_controller.rb
@@ -1,5 +1,7 @@
class V1::ServicesController < ApiController
+ before_filter :require_login, :unless => :anonymous_access_allowed?
+
def show
respond_with current_user.effective_service_level
end