I am trying to have <%= link_to event.title, :action => ‘show’, :id =>
event %> show up on my application.html.erb to show the title of
events that are coming up.
When I view /events I can see the output but when I move to /posts I
NoMethodError in Posts#index
Let me know if this can be done.