Oops hit the send button too quickly.

Here is the actual result.html.erb code

<% @restaurants.each do |restaurant| %>
<div class="featured">
  <%= render 'search_result', :restaurant => restaurant%>
  <div class="order_link">
        <%= link_to 'Order Now',  {:controller => "search", :action =>
"create_order", :id => restaurant},
         :class => "order_now_link"%>
  </div>
</div>
<% end %>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to