- <% if story.panel -%>
- <%= link_to panel_icon(:object => story.panel, :size => 25), panel_path(story.panel) %>
- <%= link_to author_icon(:object => story.panel.author, :size => 17), author_path(story.panel.author) %>
- <%= distance_of_time_in_words_to_now story.panel.updated_at %>
+ <% if scroll_panel.panel -%>
+ <%= link_to panel_icon(:object => scroll_panel.panel, :size => 25), panel_path(scroll_panel.panel) %>
+ <%= link_to author_icon(:object => scroll_panel.panel.author, :size => 17), author_path(scroll_panel.panel.author) %>
+ <%= distance_of_time_in_words_to_now scroll_panel.panel.updated_at %>