migrate to Rails 4.0 (closes foodcoops#214)
Conflicts: Gemfile.lock
This commit is contained in:
parent
12d1221bfc
commit
7841245795
97 changed files with 659 additions and 557 deletions
|
|
@ -1,7 +1,7 @@
|
|||
- if @articles.empty?
|
||||
%p= t '.not_found'
|
||||
- else
|
||||
= pagination_links_remote @articles, :params => {:search => search_params}
|
||||
= pagination_links_remote @articles, :params => {:q => search_params}
|
||||
%table.table.table-striped
|
||||
%thead
|
||||
%tr
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
%tbody
|
||||
- for article in @articles
|
||||
%tr
|
||||
%td= highlight article.name, params[:search][:name_contains_all]
|
||||
%td= highlight article.name, params[:q][:name_cont_all]
|
||||
%td= article.origin
|
||||
%td= article.manufacturer
|
||||
%td= article.note
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue