Skip to content

Commit

Permalink
Add url to description #1
Browse files Browse the repository at this point in the history
Added for clients that don't read the URL field
  • Loading branch information
thegcat committed Mar 15, 2012
1 parent ea5a93a commit 6be5d9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/redmine_ical/patch_redmine_classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def ical
e[:url] = url_for(:controller => e[:type].to_s.pluralize, :action => 'show', :id => e[:id], :only_path => false)
cal.event do
summary e[:summary]
description e[:description]
description "#{e[:description]}\n\n#{e[:url]}"
created e[:created].to_datetime
last_modified e[:updated].to_datetime
dtstart e[:date], {"VALUE" => ["DATE"]}
Expand Down Expand Up @@ -144,4 +144,4 @@ def self.included(receiver)

CalendarsController.send(:include, ::Plugin::Ical::CalendarsController)
Issue.send(:include, ::Plugin::Ical::Issue)
Version.send(:include, ::Plugin::Ical::Version)
Version.send(:include, ::Plugin::Ical::Version)

0 comments on commit 6be5d9f

Please sign in to comment.