Ok, figured out a part of it.  My layout file has a toolbar which looks 
like this:

<% current_user.portfolios.each do |portfolio| %>
  <li><%= link_to portfolio.name, user_portfolio_path(current_user, 
portfolio) %></li>
<% end %>
<li><%= link_to "new portfolio...", new_user_portfolio_path(current_user) 
%></li>

Which works when I'm at */users/12* but it breaks when I go to *
/users/12/portfolios/new*.  So my question is why can't I link to the *show* 
page 
of my portfolios from the *new* page?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/tUGUH_7cLtYJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to