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