summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-02-10 14:29:34 +0100
committerAzul <azul@leap.se>2014-02-10 14:29:34 +0100
commit3a478804aa48b08fbeded5144677744c427c112f (patch)
treeb9ac72b1a8b481ff073000a42c898802c6693742
parentc8fcd0d26c3ad5c1c3cfbaf6b57239f907925ed6 (diff)
require token in messages controller
-rw-r--r--users/app/controllers/v1/messages_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/app/controllers/v1/messages_controller.rb b/users/app/controllers/v1/messages_controller.rb
index 1b994ca..90986e2 100644
--- a/users/app/controllers/v1/messages_controller.rb
+++ b/users/app/controllers/v1/messages_controller.rb
@@ -2,7 +2,7 @@ module V1
class MessagesController < ApplicationController
skip_before_filter :verify_authenticity_token
- before_filter :authorize
+ before_filter :require_token
respond_to :json