Open laran opened 14 years ago
Using the _url methods won't automatically insert the objects for you. Given the convention of resources it probably could, but instead of using the symbol syntax for the URL generation, you could use 'project_url(@project)' as string instead of just :project_url.
Some routes are causing problems for me, specifically these: http://localhost:3000/projects/2/releases/1/sprints/new http://localhost:3000/projects/2/releases/1/teams/new
The error I get says: project_url failed to generate from {:action=>"show", :controller=>"projects"} - you may have ambiguous routes, or you may need to supply additional parameters for this route. content_url has the following required parameters: ["projects", :id] - are they all satisfied?
Here's my breadcrumbs.rb configuration file:
Here's my routes.rb file: