Platoniq/decidim-verifications-direct_verifications

View on GitHub
app/controllers/decidim/direct_verifications/verification/authorizations_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module Decidim
  module DirectVerifications
    module Verification
      class AuthorizationsController < Decidim::ApplicationController
        def new
          flash[:alert] = t("authorizations.new.no_action", scope: "decidim.direct_verifications.verification")
          redirect_to decidim_verifications.authorizations_path
        end
      end
    end
  end
end