After i uploaded a file an try to render the preview i get follwoing error:
ActionView::Template::Error (undefined method link_to_attachment_with_preview' for #<#<Class:0x561c7d>:0x1686948>): 1: <div class="attachments"> 2: <% for attachment in attachments > 3: <p><= link_to_attachment_with_preview attachment, :class => 'icon icon-attachment', :download => true -> 4: <= h(" - #{attachment.description}") unless attachment.description.blank? > 5: <span class="size">(<= number_to_human_size attachment.filesize >)</span> 6: < if options[:deletable] %> app/views/common/_tabs.html.erb:24:in_app_views_common__tabs_html_erb__881774298_162860'
app/views/common/_tabs.html.erb:23:in _app_views_common__tabs_html_erb__881774298_162860' app/helpers/application_helper.rb:263:inrender_tabs'