5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 20:56:21 +00:00

Dentro de SitesController algunos usan site_id

This commit is contained in:
f 2021-08-09 19:44:41 -03:00
parent 75e7fe76fe
commit baf6d203b8

View file

@ -142,7 +142,7 @@ class SitesController < ApplicationController
# En los controladores dentro de este controlador vamos a usar :id
# para obtener el nombre.
def site_id
@site_id ||= params[:id]
@site_id ||= params[:site_id] || params[:id]
end
def site_params