lib/search_rails.rb in search_rails-1.0.5 vs lib/search_rails.rb in search_rails-1.0.6

- old
+ new

@@ -63,11 +63,11 @@ line.puts ' @search.search_id = 1' line.puts ' @search.save' line.puts ' end' line.puts ' end' line.puts '' - line.puts ' def update' + line.puts ' def update_search' line.puts ' respond_to do |format|' line.puts ' if @search.update(search_params)' line.puts ' format.html { redirect_to :back }' line.puts ' format.json { render :show, status: :ok, location: @search }' line.puts ' else' @@ -93,10 +93,10 @@ line.puts ' def clear' line.puts ' clear' line.puts ' end' line.puts '' line.puts ' def update' - line.puts ' update' + line.puts ' update_search' line.puts ' end' line.puts '' line.puts ' private' line.puts '' line.puts ' def set_search'