app/controllers/connect/application_controller.rb



module Connect
  class ApplicationController < ActionController::Base
    protect_from_forgery with: :exception
    before_filter :authenticate_request
  end
end