# HG changeset patch # User luisf # Date 1357662807 0 # Node ID e65c02706f1c1aae569d09476e1e3374e6ea95cc # Parent 7d772d053cffccffd48cd11246cfc791d34880a4 Changed file coding header from undefined to utf-8 (was raising an error). diff -r 7d772d053cff -r e65c02706f1c plugins/redmine_bibliography/app/helpers/authorships_helper.rb --- a/plugins/redmine_bibliography/app/helpers/authorships_helper.rb Tue Jan 08 16:24:42 2013 +0000 +++ b/plugins/redmine_bibliography/app/helpers/authorships_helper.rb Tue Jan 08 16:33:27 2013 +0000 @@ -1,4 +1,4 @@ -# -*- coding: undecided -*- +# -*- coding: utf-8 -*- module AuthorshipsHelper # Generates a link to either author or user, depending on which is @@ -9,7 +9,7 @@ # legacy reasons… s << h(authorship.name_on_paper) else - if authorship.author.user.nil? + if authorship.author.user.nil? s << link_to(authorship.name_on_paper, :controller => 'authors', :action => 'show', :id => authorship.author) else s << link_to(authorship.name_on_paper, :controller => 'users', :action => 'show', :id => authorship.author.user)