language added

This commit is contained in:
Harry Bomrah 2014-11-26 16:30:22 +08:00
parent 990fcffed5
commit f7db060051
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class Desktop::JournalPapersController < DesktopAdminController
"layout" => "form",
"new_file_attributes" => {
"file" => "journal_paper[journal_paper_files_attributes][{number}][journal_file]",
"title" => "journal_paper[journal_paper_files_attributes][{number}][title_translations][en]"
"title" => "journal_paper[journal_paper_files_attributes][{number}][title_translations][{langugae}]"
},
"new_path" => "/admin/members/#{user.member_profile.to_param}/journal_papers/new"
}