Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #for some reason i can't use the same if statement to print both links... suggestions?
- #and i want to print the > based on the same if
- <%= if @project
- link_to "Author " + @project.author.to_s, :controller => "display", :action => "index"
- end %>
- >
- <%= if @project
- link_to @project.title, :controller => "display", :action => "project", :id => @project.id
- end %>
Add Comment
Please, Sign In to add comment