Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vistas creadas junto con el controlador. #19

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ GEM
activerecord (= 6.1.4.4)
activesupport (= 6.1.4.4)
marcel (~> 1.0.0)
mini_magick
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Me pregunto si agregaste mini_magick en el Gemfile para que el proyecto pudiera correr en tu ambiente local, o si esto se agrego solo 🤔

Si no es necesario, podriamos remover esto del commit? 😄

mini_mime (>= 1.1.0)
activesupport (6.1.4.4)
concurrent-ruby (~> 1.0, >= 1.0.2)
Expand Down
Binary file added app/assets/images/chamba-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
84 changes: 84 additions & 0 deletions app/assets/stylesheets/base/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -322,3 +322,87 @@
}
}
}

.chamba-info {
padding-bottom: 20px;
padding-left: 80px;
}

.card-chamba {
background: rgba(59, 73, 223, 0.21);
border-radius: 5px;
}

.chamba-logo {
display: flex;
flex-direction: row;
align-items: center;
color: #4449e0d6;
margin-top: 30px;
margin-bottom: 30px;
}

.chamba-logo h3 {
font-weight: bold;
}

.chamba-logo h4 {
font-weight: 500;
}

.codeando-logo {
width: 130px;
margin-right: 10px;
}

.chamba-title {
color: #4449e0d6;
padding-left: 80px;
padding-right: 80px;
}

.chamba-title h1 {
font-size: 70px;
}

.chamba-title h2 {
font-weight: 400;
margin: 5px;
}

.chamba-btn .apply {
color: white;
padding: 20px;
margin-top: 30px;
margin-bottom: 30px;
background-color: #4449e0d6;
border: none;
border-radius: 10px;
font-size: 20px;
}

.chamba-details h3 {
font-style: normal;
font-weight: 600;
font-size: 30px;
color: rgba(68, 73, 224, 0.84);
margin-top: 30px;
}

.chamba-details p {
font-size: 24px;
}

.chamba-details ul {
font-size: 24px;
}

.return-chamba {
font-size: 18.0778px;
padding-left: 30px;
}

.chamba-div {
display: flex;
align-items: center;
}
173 changes: 172 additions & 1 deletion app/assets/stylesheets/components/cards.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '../config/import';
@import "../config/import";

.crayons-card {
border-radius: var(--radius-auto);
Expand Down Expand Up @@ -42,3 +42,174 @@
padding: var(--su-4);
}
}

.i-icon {
margin-right: 0.3rem;
}

.chambita-title {
a {
font-weight: 700;
}
}

.chambas-found {
display: flex;
justify-content: space-between;
align-items: center;
span {
color: black;
font-weight: 600;
}
a {
color: #b0b0b0;
background-color: white;
border-radius: 5px;
border: 5px solid #d7d7d7;
padding: 0.5rem 1.5rem;
cursor: pointer;
}
}

#info_icon_exp_date {
padding-left: .5rem;
}

.crud-card-main {
background-color: #cdd1e4;
border: none;

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}

/* Firefox */
input[type="number"] {
-moz-appearance: textfield;
}
.requirements-label {
color: #686868;
}
}

#add-btn {
border: none;
color: white;
background-color: #6c7a89;

&:hover {
background-color: #bdc3c7;
}
}

.chambas-card {
display: grid;
grid-template-columns: 13% 77% 10%;

&:hover {
box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
transition: all var(--transition-props);
}
.chamba-image {
display: block;
margin: 0 auto;
width: 130px;
}
.chamba-summary {
h4 {
color: #a3a3a3;
font-weight: 500;
font-size: 24px;
line-height: 36px;
}
h3 {
color: #84858c;
font-weight: 600;
font-size: 36px;
line-height: 54px;
margin-bottom: 0.7rem;
}
span {
color: #4449e0a8;
font-weight: 600;
font-size: 14px;
line-height: 21px;
border-radius: 14px;
background-color: #3b49df36;
padding: 0.5rem 0.7rem;
}
}
.chamba-date {
text-align: center;
font-weight: 600;
line-height: 21px;
font-size: 14px;
color: #84858c;
}
}

.crud-card {
&:hover {
box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
transition: all var(--transition-props);
}
}

@mixin clearfix {
&:after {
content: "";
display: table;
clear: both;
}
}

.body-blackout {
position: absolute;
z-index: 1010;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.65);
display: none;

&.is-blacked-out {
display: block;
}
}

.popup-trigger {
display: inline-block;
}

.popup-modal {
height: 365px;
width: 650px;
background-color: #fff;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
padding: 45px;
opacity: 0;
pointer-events: none;
transition: all 300ms ease-in-out;
z-index: 1011;
border-radius: 6px;

&.is--visible {
opacity: 1;
pointer-events: auto;
}

&__close {
position: absolute;
font-size: 1.2rem;
right: -10px;
top: -10px;
cursor: pointer;
}
}
77 changes: 77 additions & 0 deletions app/controllers/admin/chambas_controller.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
module Admin
class ChambasController < Admin::ApplicationController
layout "admin"

def index
delete_exp_date()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Style/MethodCallWithoutArgsParentheses> reported by reviewdog 🐶
Do not use parentheses for method calls with no arguments. (https://rubystyle.guide#method-invocation-parens)

Suggested change
delete_exp_date()
delete_exp_date)

@chamba = Chamba.new
@chambas = Chamba.all
end

def update_chamba_from_list
record_chamba = Chamba.find(params[:chamba_to_edit][:id])
record_chamba.created_at = params[:chamba_to_edit][:published_at] + " " + params[:chamba_to_edit][:time] + ":00"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Style/StringConcatenation> reported by reviewdog 🐶
Prefer string interpolation to string concatenation. (https://rubystyle.guide#string-interpolation)

Suggested change
record_chamba.created_at = params[:chamba_to_edit][:published_at] + " " + params[:chamba_to_edit][:time] + ":00"
record_chamba.created_at = "#{params[:chamba_to_edit][:published_at]} #{params[:chamba_to_edit][:time]}:00"

if params[:chamba_to_edit][:approve] == "on"
record_chamba.approve = true
elsif params[:chamba_to_edit][:bann] == "on"
record_chamba.approve = false
end
record_chamba.save
end

def delete_exp_date
chambas = Chamba.all
chambas.length.times do |reg|
if chambas[reg].exp_date.to_s < Time.now.strftime("%F").to_s

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Style/Next> reported by reviewdog 🐶
Use next to skip iteration. (https://rubystyle.guide#no-nested-conditionals)

Suggested change
if chambas[reg].exp_date.to_s < Time.now.strftime("%F").to_s
next unless chambas[reg].exp_date.to_s < Time.now.strftime("%F").to_sif chambas[reg].exp_date.to_s < Time.now.strftime("%F").to_s

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Rails/TimeZone> reported by reviewdog 🐶
Do not use Time.now without zone. Use one of Time.zone.now, Time.current, Time.now.in_time_zone, Time.now.utc, Time.now.getlocal, Time.now.xmlschema, Time.now.iso8601, Time.now.jisx0301, Time.now.rfc3339, Time.now.httpdate, Time.now.to_i, Time.now.to_f instead. (https://rails.rubystyle.guide#time, http://danilenko.org/2012/7/6/rails_timezones)

Suggested change
if chambas[reg].exp_date.to_s < Time.now.strftime("%F").to_s
if chambas[reg].exp_date.to_s < Time.zone.now.strftime("%F").to_s

record = Chamba.find(chambas[reg].id)
record.destroy
record.save
end
end
end

def delete
id_to_delete = params[:id_chamba]
# modificar esto despues para eliminar en cascada (por medio de los modelos)
RequerimientosChamba.find(id_to_delete).destroy
AreasChamba.find(id_to_delete).destroy
Chamba.find(id_to_delete).destroy
Area.find(id_to_delete).destroy
end

def create_chamba_from_forem
chamba = Chamba.new(form_create_chamba_params)
new_chamba = Chamba.create(title: chamba.title, exp_date: chamba.exp_date, location: chamba.location,
description: chamba.description, organization: chamba.organization, salary: chamba.salary, stall: chamba.stall, requirements: chamba.requirements)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Layout/ArgumentAlignment> reported by reviewdog 🐶
Align the arguments of a method call if they span more than one line. (https://rubystyle.guide#no-double-indent)

Suggested change
description: chamba.description, organization: chamba.organization, salary: chamba.salary, stall: chamba.stall, requirements: chamba.requirements)
description: chamba.description, organization: chamba.organization, salary: chamba.salary, stall: chamba.stall, requirements: chamba.requirements)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Layout/HashAlignment> reported by reviewdog 🐶
Align the keys of a hash literal if they span more than one line.

Suggested change
description: chamba.description, organization: chamba.organization, salary: chamba.salary, stall: chamba.stall, requirements: chamba.requirements)
description: chamba.description, organization: chamba.organization, salary: chamba.salary, stall: chamba.stall, requirements: chamba.requirements)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Layout/LineLength> reported by reviewdog 🐶
Line is too long. [166/120] (https://rubystyle.guide#max-line-length)

if new_chamba.save
redirect_to "/admin/content_manager/chambas", :notice => 'La chambita fue agregada! 😀'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Style/HashSyntax> reported by reviewdog 🐶
Use the new Ruby 1.9 hash syntax. (https://rubystyle.guide#hash-literals)

Suggested change
redirect_to "/admin/content_manager/chambas", :notice => 'La chambita fue agregada! 😀'
redirect_to "/admin/content_manager/chambas", notice: 'La chambita fue agregada! 😀'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Style/StringLiterals> reported by reviewdog 🐶
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. (https://rubystyle.guide#consistent-string-literals)

Suggested change
redirect_to "/admin/content_manager/chambas", :notice => 'La chambita fue agregada! 😀'
redirect_to "/admin/content_manager/chambas", :notice => "La chambita fue agregada! 😀"��'

else
redirect_to "/admin/content_manager/chambas", :flash => { :record_save_status => 'La chambita no fue agregada 😔'}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Style/HashSyntax> reported by reviewdog 🐶
Use the new Ruby 1.9 hash syntax. (https://rubystyle.guide#hash-literals)

Suggested change
redirect_to "/admin/content_manager/chambas", :flash => { :record_save_status => 'La chambita no fue agregada 😔'}
redirect_to "/admin/content_manager/chambas", flash: { :record_save_status => 'La chambita no fue agregada 😔'}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Style/HashSyntax> reported by reviewdog 🐶
Use the new Ruby 1.9 hash syntax. (https://rubystyle.guide#hash-literals)

Suggested change
redirect_to "/admin/content_manager/chambas", :flash => { :record_save_status => 'La chambita no fue agregada 😔'}
redirect_to "/admin/content_manager/chambas", :flash => { record_save_status: 'La chambita no fue agregada 😔'}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Style/StringLiterals> reported by reviewdog 🐶
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. (https://rubystyle.guide#consistent-string-literals)

Suggested change
redirect_to "/admin/content_manager/chambas", :flash => { :record_save_status => 'La chambita no fue agregada 😔'}
redirect_to "/admin/content_manager/chambas", :flash => { :record_save_status => "La chambita no fue agregada 😔"��'}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Layout/LineLength> reported by reviewdog 🐶
Line is too long. [122/120] (https://rubystyle.guide#max-line-length)

Suggested change
redirect_to "/admin/content_manager/chambas", :flash => { :record_save_status => 'La chambita no fue agregada 😔'}
redirect_to "/admin/content_manager/chambas",
:flash => { :record_save_status => 'La chambita no fue agregada 😔'}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Layout/SpaceInsideHashLiteralBraces> reported by reviewdog 🐶
Space inside } missing. (https://rubystyle.guide#spaces-braces)

Suggested change
redirect_to "/admin/content_manager/chambas", :flash => { :record_save_status => 'La chambita no fue agregada 😔'}
redirect_to "/admin/content_manager/chambas", :flash => { :record_save_status => 'La chambita no fue agregada �� ��'}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Layout/TrailingWhitespace> reported by reviewdog 🐶
Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)

Suggested change
redirect_to "/admin/content_manager/chambas", :flash => { :record_save_status => 'La chambita no fue agregada 😔'}
redirect_to "/admin/content_manager/chambas", :flash => { :record_save_status => 'La chambita no fue agregada ���'}

end
end

def update_chamba
record_to_update = Chamba.find(params[:chamba][:id])
record_to_update.title = params[:chamba][:title]
record_to_update.location = params[:chamba][:location]
record_to_update.organization = params[:chamba][:organization]
record_to_update.exp_date = params[:chamba][:exp_date]
record_to_update.stall = params[:chamba][:stall]
record_to_update.salary = params[:chamba][:salary]
record_to_update.description = params[:chamba][:description]
record_to_update.requirements = params[:chamba][:requirements]

if record_to_update.save
redirect_to "/admin/content_manager/chambas", :notice => 'La chambita se actualizo correctamente! 😀'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Style/HashSyntax> reported by reviewdog 🐶
Use the new Ruby 1.9 hash syntax. (https://rubystyle.guide#hash-literals)

Suggested change
redirect_to "/admin/content_manager/chambas", :notice => 'La chambita se actualizo correctamente! 😀'
redirect_to "/admin/content_manager/chambas", notice: 'La chambita se actualizo correctamente! 😀'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Style/StringLiterals> reported by reviewdog 🐶
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. (https://rubystyle.guide#consistent-string-literals)

Suggested change
redirect_to "/admin/content_manager/chambas", :notice => 'La chambita se actualizo correctamente! 😀'
redirect_to "/admin/content_manager/chambas", :notice => "La chambita se actualizo correctamente! 😀"��'

else
redirect_to "/admin/content_manager/chambas", :flash => { :record_save_status => 'La chambita no se actualizo! 😔'}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Style/HashSyntax> reported by reviewdog 🐶
Use the new Ruby 1.9 hash syntax. (https://rubystyle.guide#hash-literals)

Suggested change
redirect_to "/admin/content_manager/chambas", :flash => { :record_save_status => 'La chambita no se actualizo! 😔'}
redirect_to "/admin/content_manager/chambas", flash: { :record_save_status => 'La chambita no se actualizo! 😔'}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Style/HashSyntax> reported by reviewdog 🐶
Use the new Ruby 1.9 hash syntax. (https://rubystyle.guide#hash-literals)

Suggested change
redirect_to "/admin/content_manager/chambas", :flash => { :record_save_status => 'La chambita no se actualizo! 😔'}
redirect_to "/admin/content_manager/chambas", :flash => { record_save_status: 'La chambita no se actualizo! 😔'}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Style/StringLiterals> reported by reviewdog 🐶
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. (https://rubystyle.guide#consistent-string-literals)

Suggested change
redirect_to "/admin/content_manager/chambas", :flash => { :record_save_status => 'La chambita no se actualizo! 😔'}
redirect_to "/admin/content_manager/chambas", :flash => { :record_save_status => "La chambita no se actualizo! 😔"��'}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Layout/LineLength> reported by reviewdog 🐶
Line is too long. [123/120] (https://rubystyle.guide#max-line-length)

Suggested change
redirect_to "/admin/content_manager/chambas", :flash => { :record_save_status => 'La chambita no se actualizo! 😔'}
redirect_to "/admin/content_manager/chambas",
:flash => { :record_save_status => 'La chambita no se actualizo! 😔'}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Layout/SpaceInsideHashLiteralBraces> reported by reviewdog 🐶
Space inside } missing. (https://rubystyle.guide#spaces-braces)

Suggested change
redirect_to "/admin/content_manager/chambas", :flash => { :record_save_status => 'La chambita no se actualizo! 😔'}
redirect_to "/admin/content_manager/chambas", :flash => { :record_save_status => 'La chambita no se actualizo! �� ��'}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Layout/TrailingWhitespace> reported by reviewdog 🐶
Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)

Suggested change
redirect_to "/admin/content_manager/chambas", :flash => { :record_save_status => 'La chambita no se actualizo! 😔'}
redirect_to "/admin/content_manager/chambas", :flash => { :record_save_status => 'La chambita no se actualizo! ���'}

end
end

private

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Layout/EmptyLinesAroundAccessModifier> reported by reviewdog 🐶
Keep a blank line before and after private. (https://rubystyle.guide#empty-lines-around-access-modifier, https://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html#follow-the-coding-conventions)

Suggested change
private
private

def form_create_chamba_params
params.require(:chamba).permit(:title, :exp_date, :location, :description, :organization, :salary, :stall,
:requirements)
end
end
end
41 changes: 41 additions & 0 deletions app/controllers/chambas_controller.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
class ChambasController < ApplicationController

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Layout/TrailingWhitespace> reported by reviewdog 🐶
Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)

Suggested change

def index
delete_exp_date()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Style/MethodCallWithoutArgsParentheses> reported by reviewdog 🐶
Do not use parentheses for method calls with no arguments. (https://rubystyle.guide#method-invocation-parens)

Suggested change
delete_exp_date()
delete_exp_date)

@chambas_vec = Chamba.all.where(approve: true)
@areas = %w[Mexico Web-Developer Programación Issues]
@filters = req_filters
@areas_chambas = AreasChamba.all
end

def delete_exp_date
chambas = Chamba.all
chambas.length.times do |reg|
if chambas[reg].exp_date.to_s < Time.now.strftime("%F").to_s

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Style/Next> reported by reviewdog 🐶
Use next to skip iteration. (https://rubystyle.guide#no-nested-conditionals)

Suggested change
if chambas[reg].exp_date.to_s < Time.now.strftime("%F").to_s
next unless chambas[reg].exp_date.to_s < Time.now.strftime("%F").to_sif chambas[reg].exp_date.to_s < Time.now.strftime("%F").to_s

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Rails/TimeZone> reported by reviewdog 🐶
Do not use Time.now without zone. Use one of Time.zone.now, Time.current, Time.now.in_time_zone, Time.now.utc, Time.now.getlocal, Time.now.xmlschema, Time.now.iso8601, Time.now.jisx0301, Time.now.rfc3339, Time.now.httpdate, Time.now.to_i, Time.now.to_f instead. (https://rails.rubystyle.guide#time, http://danilenko.org/2012/7/6/rails_timezones)

Suggested change
if chambas[reg].exp_date.to_s < Time.now.strftime("%F").to_s
if chambas[reg].exp_date.to_s < Time.zone.now.strftime("%F").to_s

record = Chamba.find(chambas[reg].id)
record.destroy
record.save
end
end
end

# vista chamba
def chamba
@chamba = Chamba.find(params[:chamba_id])
@requerimientos = ''

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Style/StringLiterals> reported by reviewdog 🐶
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. (https://rubystyle.guide#consistent-string-literals)

Suggested change
@requerimientos = ''
@requerimientos = ""

variable = Chamba.find(params[:chamba_id]).requirements
if variable.nil? == false

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Style/GuardClause> reported by reviewdog 🐶
Use a guard clause (return unless variable.nil? == false) instead of wrapping the code inside a conditional expression. (https://rubystyle.guide#no-nested-conditionals)

@requerimientos = variable.split(",")
end
end

def req_chambas
# DESIDO HACERLO FUERA EN OTRO METODO PARA DESPUES PRE-PROSESAR LAS PUBS
Chamba.all
end

def req_filters
%w[Mexico Web-Developer Programación Issues]
# @var_back = params[:filter_active]
end
end
Loading