app/controllers/decidim/api/application_controller.rb in decidim-api-0.0.8.1 vs app/controllers/decidim/api/application_controller.rb in decidim-api-0.1.0
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
module Decidim
module Api
# Base controller for `decidim-api`. All other controllers inherit from this.
class ApplicationController < ::DecidimController
- skip_before_filter :verify_authenticity_token
+ skip_before_action :verify_authenticity_token
include NeedsOrganization
end
end
end