Implements /cuentasegura
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class WelcomeController < ApplicationController
|
||||
skip_authorization_check
|
||||
|
||||
layout "devise", only: :welcome
|
||||
layout "devise", only: [:welcome, :verification]
|
||||
|
||||
def index
|
||||
if current_user
|
||||
@@ -25,5 +25,9 @@ class WelcomeController < ApplicationController
|
||||
render 'highlights'
|
||||
end
|
||||
|
||||
def verification
|
||||
redirect_to verification_path if signed_in?
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
||||
13
app/views/welcome/verification.html.erb
Normal file
13
app/views/welcome/verification.html.erb
Normal file
@@ -0,0 +1,13 @@
|
||||
<h2><%= t("welcome.verification.title") %></h2>
|
||||
|
||||
<p><%= t("welcome.verification.question", org_name: Setting["org_name"]) %></p>
|
||||
|
||||
<p class="text-center">
|
||||
<%= link_to(t("welcome.verification.i_have_an_account"), verification_path, class: "button success radius expand") %>
|
||||
</p>
|
||||
|
||||
<p class="text-center">
|
||||
<%= link_to(t("welcome.verification.i_dont_have_an_account"), new_user_registration_path, class: "button radius expand") %>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user