Commit 7f57dd21fe9cda2d51a23944cd29fb5608d9098f

Authored by Nathan Broadbent
1 parent c7b2598a
Exists in master and in 1 other branch production

personal pref for '}.to_s' over 'end.to_s'

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
app/helpers/application_helper.rb
... ... @@ -4,7 +4,7 @@ module ApplicationHelper
4 4 end
5 5  
6 6 def generate_ical(deploys)
7   - RiCal.Calendar do |cal|
  7 + RiCal.Calendar { |cal|
8 8 deploys.each_with_index do |deploy,idx|
9 9 cal.event do |event|
10 10 event.summary = "#{idx+1} #{deploy.repository.to_s}"
... ... @@ -15,7 +15,7 @@ module ApplicationHelper
15 15 event.organizer = deploy.username.to_s
16 16 end
17 17 end
18   - end.to_s
  18 + }.to_s
19 19 end
20 20  
21 21 def user_agent_graph(problem)
... ...