Sha256: ab04601a9f65e604d33c8b9afb98116dba3d7e41143e97687305ba93f3d6c421

Contents?: true

Size: 379 Bytes

Versions: 37

Compression:

Stored size: 379 Bytes

Contents

# frozen_string_literal: true

module Decidim
  class ErrorsController < Decidim::ApplicationController
    skip_before_action :verify_authenticity_token, :tos_accepted_by_user
    skip_after_action :verify_same_origin_request

    def not_found
      render status: :not_found
    end

    def internal_server_error
      render status: :internal_server_error
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
decidim-core-0.27.9 app/controllers/decidim/errors_controller.rb
decidim-core-0.27.8 app/controllers/decidim/errors_controller.rb
decidim-core-0.27.7 app/controllers/decidim/errors_controller.rb
decidim-core-0.27.6 app/controllers/decidim/errors_controller.rb
decidim-core-0.26.10 app/controllers/decidim/errors_controller.rb
decidim-core-0.26.9 app/controllers/decidim/errors_controller.rb
decidim-core-0.27.5 app/controllers/decidim/errors_controller.rb
decidim-core-0.26.8 app/controllers/decidim/errors_controller.rb
decidim-core-0.27.4 app/controllers/decidim/errors_controller.rb
decidim-core-0.27.3 app/controllers/decidim/errors_controller.rb
decidim-core-0.26.7 app/controllers/decidim/errors_controller.rb
decidim-core-0.26.5 app/controllers/decidim/errors_controller.rb
decidim-core-0.27.2 app/controllers/decidim/errors_controller.rb
decidim-core-0.27.1 app/controllers/decidim/errors_controller.rb
decidim-core-0.26.4 app/controllers/decidim/errors_controller.rb
decidim-core-0.27.0 app/controllers/decidim/errors_controller.rb
decidim-core-0.26.3 app/controllers/decidim/errors_controller.rb
decidim-core-0.27.0.rc2 app/controllers/decidim/errors_controller.rb
decidim-core-0.27.0.rc1 app/controllers/decidim/errors_controller.rb
decidim-core-0.26.2 app/controllers/decidim/errors_controller.rb