rails 3 fixes
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
%h1.title Adicionar arquivo
|
||||
|
||||
%p
|
||||
- form_for :attachment, @attachment, :url => course_attachments_url, :html => { :method => 'post', :multipart => 'true' } do
|
||||
= form_for @attachment, :url => course_attachments_url, :html => { :method => 'post', :multipart => 'true' } do
|
||||
= render :partial => 'form'
|
||||
= submit_tag "Criar", :accesskey => 'e'
|
||||
|
||||
Reference in New Issue
Block a user