diff --git a/app/controllers/public/m_odr_files_controller.rb b/app/controllers/public/m_odr_files_controller.rb index 0ad627c..4f5f8e7 100644 --- a/app/controllers/public/m_odr_files_controller.rb +++ b/app/controllers/public/m_odr_files_controller.rb @@ -3,6 +3,7 @@ class Public::MOdrFilesController < ApplicationController layout "public" + before_action :auth_p_customer def index @m_odr_files = MOdrFile.all diff --git a/app/views/admin/circuits/_circuit.html.haml b/app/views/admin/circuits/_circuit.html.haml index c8f4071..aae44fc 100644 --- a/app/views/admin/circuits/_circuit.html.haml +++ b/app/views/admin/circuits/_circuit.html.haml @@ -18,7 +18,7 @@ %td.actions = link_to i(:"trash-o"), [:admin, circuit], method: :delete, data: { confirm: 'Voulez-vous vraiment supprimer cet enregistrement ? ' } , :remote => true = link_to i(:pencil), edit_admin_circuit_path(circuit), :remote => true - = link_to i(:eye), admin_circuit_path(circuit), :remote => true + = #link_to i(:eye), admin_circuit_path(circuit), :remote => true diff --git a/app/views/admin/organisateurs/_organisateur.html.haml b/app/views/admin/organisateurs/_organisateur.html.haml index 4c3eae7..123df5b 100644 --- a/app/views/admin/organisateurs/_organisateur.html.haml +++ b/app/views/admin/organisateurs/_organisateur.html.haml @@ -14,7 +14,7 @@ %td.actions = link_to i(:"trash-o"), [:admin, organisateur], method: :delete, data: { confirm: 'Voulez-vous vraiment supprimer cet enregistrement ? ' } , :remote => true = link_to i(:pencil), edit_admin_organisateur_path(organisateur), :remote => true - = link_to i(:eye), admin_organisateur_path(organisateur), :remote => true + =# link_to i(:eye), admin_organisateur_path(organisateur), :remote => true diff --git a/app/views/admin/p_customers/_form.html.haml b/app/views/admin/p_customers/_form.html.haml index b8bf8d5..7ef4002 100755 --- a/app/views/admin/p_customers/_form.html.haml +++ b/app/views/admin/p_customers/_form.html.haml @@ -34,7 +34,7 @@ .col-sm-2 %br - = form.input :sticker, :label => "Sticker envoyés ?" + = form.input :sticker, :label => "Stickers envoyés ?" .col-sm-2 %br