We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fd6c0b commit e5c61b2Copy full SHA for e5c61b2
elasticsearch-rails/lib/rails/templates/01-basic.rb
@@ -209,9 +209,10 @@ def search
209
CODE
210
end
211
212
-inject_into_file 'app/views/articles/index.html.erb', after: %r{<h1>Listing articles</h1>} do
+inject_into_file 'app/views/articles/index.html.erb', after: %r{<h1>Listing articles</h1>}i do
213
<<-CODE
214
215
+
216
<hr>
217
218
<%= form_tag search_articles_path, method: 'get' do %>
@@ -221,7 +222,6 @@ def search
221
222
<% end %>
223
224
-
225
226
227
0 commit comments