Closed halfghaninne closed 6 years ago
For EntriesController#Show:
@decorated_entry = DecoratedEntry.new(@_entry)
@decorated_entry
Repeat for other actions in the EntriesController:
For EntriesController#Show:
@decorated_entry = DecoratedEntry.new(@_entry)
This should be the only variable passed from the controller to the view@decorated_entry
is also the only thing being passed to partials in the show viewRepeat for other actions in the EntriesController: