suite
This commit is contained in:
parent
44f57de50e
commit
7be584f445
@ -15,6 +15,8 @@ class MOdrVirement < ApplicationRecord
|
|||||||
|
|
||||||
before_create { generate_token() }
|
before_create { generate_token() }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def generate_token()
|
def generate_token()
|
||||||
begin
|
begin
|
||||||
self[:token] = SecureRandom.urlsafe_base64
|
self[:token] = SecureRandom.urlsafe_base64
|
||||||
|
@ -62,7 +62,7 @@
|
|||||||
</CdtrAgt>
|
</CdtrAgt>
|
||||||
|
|
||||||
<Cdtr>
|
<Cdtr>
|
||||||
<Nm>MaMotoSurCircuit</Nm>
|
<Nm><%= m_odr_virement.m_odr_prime.p_customer.show_name.strip %></Nm>
|
||||||
</Cdtr>
|
</Cdtr>
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
Rails.application.routes.draw do
|
Rails.application.routes.draw do
|
||||||
|
|
||||||
|
|
||||||
|
get "/122-journees.html" => redirect("/fr/journees-de-roulage.html")
|
||||||
|
|
||||||
get "/USER_CREATION/1/104--36-mon-compte.html" => redirect("/fr/mon-compte.html")
|
get "/USER_CREATION/1/104--36-mon-compte.html" => redirect("/fr/mon-compte.html")
|
||||||
get "/:lang/mon-compte.html" => "public/my_account#index", :as => :public_my_account
|
get "/:lang/mon-compte.html" => "public/my_account#index", :as => :public_my_account
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user