Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. Rails.application.routes.draw do
  2. root "animals#index"
  3. resources :animals
  4. resources :animals do
  5. #get 'search/:q', :action => 'search', :as => 'search'
  6. get "animals/search" => "animals#search"
  7. end
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement