decidim-api/app/controllers/decidim/api/application_controller.rb in decidim-0.0.6 vs decidim-api/app/controllers/decidim/api/application_controller.rb in decidim-0.0.7

- old
+ new

@@ -1,9 +1,10 @@ # frozen_string_literal: true module Decidim module Api # Base controller for `decidim-api`. All other controllers inherit from this. - class ApplicationController < ActionController::Base + class ApplicationController < ::DecidimController + skip_before_filter :verify_authenticity_token include NeedsOrganization end end end