suite
This commit is contained in:
parent
8897fa2588
commit
a9c740f617
@ -61,12 +61,16 @@ class Public::CustomersAuthsController < ApplicationController
|
|||||||
cookies.permanent[:video_read] = "true"
|
cookies.permanent[:video_read] = "true"
|
||||||
flash[:read_video] = true
|
flash[:read_video] = true
|
||||||
end
|
end
|
||||||
|
if false
|
||||||
if user.reseauxes.map(&:id).include?(2)
|
if user.reseauxes.map(&:id).include?(2)
|
||||||
|
|
||||||
|
redirect_to public_reseaux_products_path(:reseaux_id => 2)
|
||||||
|
else
|
||||||
|
redirect_to :root
|
||||||
|
end
|
||||||
|
|
||||||
redirect_to public_reseaux_products_path(:reseaux_id => 2)
|
|
||||||
else
|
else
|
||||||
redirect_to :root
|
redirect_to public_my_reseauxes_path
|
||||||
end
|
end
|
||||||
|
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user