Rails Routes Format par défaut JSON
defaults format: :json do
resources :photos
get :search, to: 'articles_controller#search', as: 'article_search'
end
Comfortable Constrictor