Displaying 1 result from an estimated 1 matches for "algorithm_id".
Did you mean:
algorithm_
2007 Dec 03
4
Resource routing methods -- what am I missing?
Alright, I''ve been doing map.resources routing for a while now, so
whatever I''m missing must be something stupid and obvious... Anyone
care to help me out?
-- routes.rb:
# ...
map.resources :algorithms, :collection => { :search => :post } do
|algorithm|
algorithm.resources :snippets
end
# ...
-- snippets_controller.rb
class SnippetsController < ApplicationController