app/helpers/pulitzer/posts_helper.rb in pulitzer-0.5.8 vs app/helpers/pulitzer/posts_helper.rb in pulitzer-0.5.9
- old
+ new
@@ -9,12 +9,12 @@
end
end
def link_back_to_posts(post_type, plural_label, singular_label)
if post_type.plural?
- link_to plural_label, posts_path(post_type_id: post_type.id)
+ link_to plural_label, pulitzer.posts_path(post_type_id: post_type.id)
else
- link_to singular_label, post_types_path
+ link_to singular_label, pulitzer.post_types_path
end
end
def render_video(element)
content_tag(:iframe, nil, src: element.video_link) if element.video_link