Skip to content

Commit

Permalink
Fix link_to after create opportunities
Browse files Browse the repository at this point in the history
  • Loading branch information
rubydev committed Nov 28, 2011
1 parent bd4a4ba commit 83ca910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/opportunities/_opportunity.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

.indent
= link_to(h(opportunity.name), opportunity)
- if opportunity.account
- if opportunity.account && opportunity.account.id
== #{t :from} #{link_to(h(opportunity.account.name), account_path(opportunity.account))}
%tt
–
Expand Down

0 comments on commit 83ca910

Please sign in to comment.