summaryrefslogtreecommitdiff
path: root/app/controllers/api_controller.rb
blob: 0aa95070df3bd21ba3ff4ef297de6313e7a5b9da (plain)
1
2
3
4
5
6
7
8
9
10
11
class ApiController < ApplicationController

  skip_before_filter :verify_authenticity_token
  respond_to :json

  def require_login
    require_token
  end

end