suite
This commit is contained in:
parent
8c96986309
commit
10bf7b95d0
@ -14,6 +14,8 @@ class Public::ReseauxesController < ApplicationController
|
||||
@reseaux = current_customer.own_reseauxes.find(params[:id])
|
||||
@reseaux_chief_layout = true
|
||||
#@reseaux = Reseaux.find(params[:id])
|
||||
|
||||
session[:reseaux_id] =@reseaux.id
|
||||
|
||||
end
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
-if reseaux.default_part == 3
|
||||
-reseaux_path = public_reseaux_products_path(:reseaux_id => reseaux.id)
|
||||
-elsif reseaux.default_part == 2
|
||||
-reseaux_path = public_needs_path(:type => 2, :reseaux_id => reseaux.id)
|
||||
-reseaux_path = public_reseaux_products_path(:type => 2, :reseaux_id => reseaux.id)
|
||||
-else
|
||||
-reseaux_path = public_needs_path(:type => 1, :reseaux_id => reseaux.id)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user