Revision 424:b601a9e472f3 vendor/plugins/redmine_bibliography/app/controllers
| vendor/plugins/redmine_bibliography/app/controllers/publications_controller.rb | ||
|---|---|---|
| 22 | 22 |
bibtex_entry = params[:bibtex_entry] |
| 23 | 23 |
|
| 24 | 24 |
# method for creating "pasted" bibtex entries |
| 25 |
if bibtex_entry |
|
| 25 |
if bibtex_entry |
|
| 26 |
logger.error "ANTES PARSE" |
|
| 26 | 27 |
parse_bibtex_list bibtex_entry |
| 28 |
logger.error "DEPOIS PARSE" |
|
| 27 | 29 |
end |
| 28 | 30 |
|
| 29 | 31 |
# form's flow control |
| ... | ... | |
| 110 | 112 |
@publication.bibtex_entry = @bentry |
| 111 | 113 |
@publication.save |
| 112 | 114 |
|
| 113 |
@created_publications << @publication.id |
|
| 115 |
# what is this for??? |
|
| 116 |
# @created_publications << @publication.id |
|
| 114 | 117 |
|
| 115 | 118 |
# need to save all authors |
| 116 | 119 |
# and establish the author-publication association |
Also available in: Unified diff