Sidebar links fixed
This commit is contained in:
parent
d0f04e4834
commit
bb3d390681
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@
|
|||
.item
|
||||
// Switch to grid view
|
||||
//a href=url(:package, :index)
|
||||
= link_to packages_grid_path, search: params[:search]
|
||||
= link_to (packages_grid_path(search: params[:search], show: params[:show]))
|
||||
img src="/images/sidebar/grid0.svg" width=40 height=40
|
||||
.item.space
|
||||
img src="/images/sidebar/list1.svg" width=40 height=40
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
.item.space
|
||||
// Switch to list view
|
||||
//a href=url(:package, :index, view: 'list')
|
||||
= link_to packages_list_path, search: params[:search]
|
||||
= link_to (packages_list_path(search: params[:search], show: params[:show]))
|
||||
img src="/images/sidebar/list0.svg" width=40 height=40
|
||||
|
||||
// Cycling between with/without/any packages filter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue