diff --git a/Gemfile b/Gemfile index 23cbc1f..7bfac46 100644 --- a/Gemfile +++ b/Gemfile @@ -75,7 +75,7 @@ gem 'jquery-rails' gem 'tinymce-rails' gem 'friendly_id' -gem 'contact_us', '>= 1.1.1' +gem 'contact_us', '>= 1.1.0' gem 'recaptcha' gem 'turbolinks' #implementation of forms diff --git a/app/models/exported_plan.rb b/app/models/exported_plan.rb index 8ffff24..6d21897 100644 --- a/app/models/exported_plan.rb +++ b/app/models/exported_plan.rb @@ -47,7 +47,7 @@ def funder org = self.plan.project.dmptemplate.try(:organisation) - org.name if org.present? && org.organisation_type.try(:name) == constant("organisation_types.funder")) + org.name if org.present? && org.organisation_type.try(:name) == constant("organisation_types.funder") end def institution