Initial commit - fresh start
This commit is contained in:
2
app/controllers/application_controller.rb
Normal file
2
app/controllers/application_controller.rb
Normal file
@@ -0,0 +1,2 @@
|
||||
class ApplicationController < ActionController::Base
|
||||
end
|
||||
0
app/controllers/concerns/.keep
Normal file
0
app/controllers/concerns/.keep
Normal file
17
app/controllers/spree/user_passwords_controller.rb
Normal file
17
app/controllers/spree/user_passwords_controller.rb
Normal file
@@ -0,0 +1,17 @@
|
||||
module Spree
|
||||
class UserPasswordsController < ::Devise::PasswordsController
|
||||
include Spree::Storefront::DeviseConcern
|
||||
|
||||
protected
|
||||
|
||||
def translation_scope
|
||||
'devise.user_passwords'
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def title
|
||||
Spree.t(:forgot_password)
|
||||
end
|
||||
end
|
||||
end
|
||||
17
app/controllers/spree/user_registrations_controller.rb
Normal file
17
app/controllers/spree/user_registrations_controller.rb
Normal file
@@ -0,0 +1,17 @@
|
||||
module Spree
|
||||
class UserRegistrationsController < ::Devise::RegistrationsController
|
||||
include Spree::Storefront::DeviseConcern
|
||||
|
||||
protected
|
||||
|
||||
def translation_scope
|
||||
'devise.user_registrations'
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def title
|
||||
Spree.t(:sign_up)
|
||||
end
|
||||
end
|
||||
end
|
||||
17
app/controllers/spree/user_sessions_controller.rb
Normal file
17
app/controllers/spree/user_sessions_controller.rb
Normal file
@@ -0,0 +1,17 @@
|
||||
module Spree
|
||||
class UserSessionsController < ::Devise::SessionsController
|
||||
include Spree::Storefront::DeviseConcern
|
||||
|
||||
protected
|
||||
|
||||
def translation_scope
|
||||
'devise.user_sessions'
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def title
|
||||
Spree.t(:login)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user