forked from saurabh/personal-journal
small fix
This commit is contained in:
parent
8e25b284df
commit
990fcffed5
|
@ -13,7 +13,7 @@ class Desktop::JournalPapersController < DesktopAdminController
|
||||||
"new_file_attributes" => {
|
"new_file_attributes" => {
|
||||||
"file" => "journal_paper[journal_paper_files_attributes][{number}][journal_file]",
|
"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][en]"
|
||||||
}
|
},
|
||||||
"new_path" => "/admin/members/#{user.member_profile.to_param}/journal_papers/new"
|
"new_path" => "/admin/members/#{user.member_profile.to_param}/journal_papers/new"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue