app/views/alchemy/admin/attachments/new.html.erb in alchemy_cms-2.2.rc8 vs app/views/alchemy/admin/attachments/new.html.erb in alchemy_cms-2.2.rc11
- old
+ new
@@ -1,9 +1,9 @@
<%= form_for([:admin, @attachment], :html => {:multipart => true}) do |f| %>
<%= render(
:partial => "alchemy/admin/partials/upload_form",
:locals => {
- :file_types => configuration(:uploader)[:allowed_filetypes][:attachments],
+ :file_types => configuration(:uploader)['allowed_filetypes']['attachments'],
:file_types_description => t('documents'),
:model_name => 'attachment',
:item_type => t('files')
}
) %>