Skip to content

Commit

Permalink
Restore deleted before_action
Browse files Browse the repository at this point in the history
  • Loading branch information
JoonasAapro committed Oct 7, 2024
1 parent 65626ec commit 8da756a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class OmniauthController < ::Decidim::Devise::OmniauthRegistrationsController

helper Decidim::HelsinkiSmsauth::Engine.routes.url_helpers
helper Decidim::HelsinkiSmsauth::RegistrationHelper
before_action :ensure_authorized, only: [:new, :user_registry]
before_action :ensure_authorized, only: [:new, :registration, :user_registry]

def new
@form = form(OmniauthForm).instance
Expand Down Expand Up @@ -37,6 +37,8 @@ def update
end
end

def registration; end

def send_message
@form = ::Decidim::HelsinkiSmsauth::OmniauthForm.from_params(params)
# in the test, and development environment, and with the telia gateway installation,
Expand Down

0 comments on commit 8da756a

Please sign in to comment.