Code cleanup

Little fixes.
This commit is contained in:
Thorsten 2015-02-22 19:53:03 +01:00
parent 6b88429eb0
commit 77b9ee9937

View file

@ -101,7 +101,7 @@ class IcalTicketsController < ApplicationController
events_data.push event_data
end
return events_data
events_data
end
def pending_events_data_get
@ -136,7 +136,7 @@ class IcalTicketsController < ApplicationController
events_data.push event_data
end
return events_data
events_data
end
@ -165,7 +165,7 @@ class IcalTicketsController < ApplicationController
events_data.push event_data
end
return events_data
events_data
end
def events_data_to_ical(events_data)
@ -186,10 +186,10 @@ class IcalTicketsController < ApplicationController
send_data(
cal.to_ical,
:filename => 'new_open.ical',
:filename => 'zammad.ical',
:type => 'text/plain',
:disposition => 'inline'
)
end
end
end