I have a controller with a number of actions:
class TestsController < ApplicationController def find end def break end def turn end end
When I add it to my routes.rb as follows:
resources :tests
and complete the rake routes task, I see the following additional rounds:
tests GET /tests(.:format) tests#index POST /tests(.:format) tests#create new_test GET /tests/new(.:format) tests#new edit_test GET /tests/:id/edit(.:format) tests#edit test GET /tests/:id(.:format) tests
Obviously, my controller does not have the above actions. So, how can I tell Rails to avoid generating / waiting for these routes?
source share