changeset 1126:e65c02706f1c redmine-2.2-integration

Changed file coding header from undefined to utf-8 (was raising an error).
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 08 Jan 2013 16:33:27 +0000
parents 7d772d053cff
children 736d01c1d2d0
files plugins/redmine_bibliography/app/helpers/authorships_helper.rb
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)