diff --git a/app/views/messages/_form_course.html.erb b/app/views/messages/_form_course.html.erb index 7b5d47c71..615de9778 100644 --- a/app/views/messages/_form_course.html.erb +++ b/app/views/messages/_form_course.html.erb @@ -34,8 +34,8 @@
  • - - <%= render :partial => 'attachments/form_course', :locals => {:container => @message,:isReply => @isReply} %> + + <%= render :partial => 'attachments/new_form', :locals => {:container => @message,:isReply => @isReply} %>
  • diff --git a/app/views/news/_course_show.html.erb b/app/views/news/_course_show.html.erb index a876e2401..0a6410374 100644 --- a/app/views/news/_course_show.html.erb +++ b/app/views/news/_course_show.html.erb @@ -85,7 +85,7 @@ <%= delete_link(news_path(@news),:class => 'talk_edit fr') if User.current.allowed_to?(:manage_news, @course) %>
    <%= textilizable(@news, :description) %>
    <%= l(:label_create_time) %> : <%= format_time(@news.created_on) %>
    - <%= link_to_attachments @news %> + <%= link_to_attachments_course @news %>