Method: Virgo::SearchController#create
- Defined in:
- app/controllers/virgo/search_controller.rb
#create ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'app/controllers/virgo/search_controller.rb', line 9 def create @search = PostSearch.new(post_search_params) if @search.valid? redirect_to search_index_path(post_search: post_search_params) else render :new end end |