From 77b9ee99377d109944adf079f24e961b0bb4e10f Mon Sep 17 00:00:00 2001 From: Thorsten Date: Sun, 22 Feb 2015 19:53:03 +0100 Subject: [PATCH] Code cleanup Little fixes. --- app/controllers/ical_tickets_controller.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/controllers/ical_tickets_controller.rb b/app/controllers/ical_tickets_controller.rb index 82c6f87fe..d3b6483b8 100644 --- a/app/controllers/ical_tickets_controller.rb +++ b/app/controllers/ical_tickets_controller.rb @@ -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 \ No newline at end of file +end