diff options
Diffstat (limited to 'app/controllers/api/services_controller.rb')
-rw-r--r-- | app/controllers/api/services_controller.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/controllers/api/services_controller.rb b/app/controllers/api/services_controller.rb new file mode 100644 index 0000000..58e129c --- /dev/null +++ b/app/controllers/api/services_controller.rb @@ -0,0 +1,10 @@ +class Api::ServicesController < ApiController + + before_filter :require_login, :unless => :anonymous_access_allowed? + + respond_to :json + + def show + respond_with current_user.effective_service_level + end +end |