回答編集履歴
2
あ
test
CHANGED
@@ -48,7 +48,7 @@
|
|
48
48
|
|
49
49
|
<%= search_form_for @q ,:url=>{:controller=>"articles",:action=>"index"} do |f| %>
|
50
50
|
|
51
|
-
|
51
|
+
検索文字列
|
52
52
|
|
53
53
|
<%= f.search_field :title_or_article_bodies_part_cont %>
|
54
54
|
|
1
count修正
test
CHANGED
@@ -68,6 +68,8 @@
|
|
68
68
|
|
69
69
|
@articles = @q.result.order(id: :DESC).page(params[:page]).per(25)
|
70
70
|
|
71
|
+
@count = @q.result.count
|
72
|
+
|
71
73
|
~
|
72
74
|
|
73
75
|
end
|