A veces se pasa el parámetro en set_queries
This commit is contained in:
parent
44450da520
commit
6f08ca6c36
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ module BlazerDecorator
|
||||||
private
|
private
|
||||||
|
|
||||||
# Solo mostrar las consultas de le usuarie
|
# Solo mostrar las consultas de le usuarie
|
||||||
def set_queries(_)
|
def set_queries(_ = nil)
|
||||||
@queries = (@current_usuarie || current_usuarie).blazer_queries
|
@queries = (@current_usuarie || current_usuarie).blazer_queries
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue