comparison vendor/plugins/redmine_bibliography/app/helpers/authors_helper.rb @ 640:47b21bb3fa03 cannam_integration

Merge from branch "feature_36"
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 06 Sep 2011 12:23:51 +0100
parents 8fa35731c959
children
comparison
equal deleted inserted replaced
572:031d70972601 640:47b21bb3fa03
15 s << pubs.join(', ') 15 s << pubs.join(', ')
16 end 16 end
17 s 17 s
18 end 18 end
19 19
20
21 # Generates a link to an author
22 # todo: test options
23 def link_to_author(author, options={}, html_options = nil)
24 url = {:controller => 'authors', :action => 'show', :id => author}.merge(options)
25 link_to(h(author.name), url, html_options)
26 end
27
20 end 28 end