Code cleanup
Little fixes.
This commit is contained in:
parent
6b88429eb0
commit
77b9ee9937
1 changed files with 5 additions and 5 deletions
|
@ -101,7 +101,7 @@ class IcalTicketsController < ApplicationController
|
||||||
events_data.push event_data
|
events_data.push event_data
|
||||||
end
|
end
|
||||||
|
|
||||||
return events_data
|
events_data
|
||||||
end
|
end
|
||||||
|
|
||||||
def pending_events_data_get
|
def pending_events_data_get
|
||||||
|
@ -136,7 +136,7 @@ class IcalTicketsController < ApplicationController
|
||||||
events_data.push event_data
|
events_data.push event_data
|
||||||
end
|
end
|
||||||
|
|
||||||
return events_data
|
events_data
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
@ -165,7 +165,7 @@ class IcalTicketsController < ApplicationController
|
||||||
events_data.push event_data
|
events_data.push event_data
|
||||||
end
|
end
|
||||||
|
|
||||||
return events_data
|
events_data
|
||||||
end
|
end
|
||||||
|
|
||||||
def events_data_to_ical(events_data)
|
def events_data_to_ical(events_data)
|
||||||
|
@ -186,7 +186,7 @@ class IcalTicketsController < ApplicationController
|
||||||
|
|
||||||
send_data(
|
send_data(
|
||||||
cal.to_ical,
|
cal.to_ical,
|
||||||
:filename => 'new_open.ical',
|
:filename => 'zammad.ical',
|
||||||
:type => 'text/plain',
|
:type => 'text/plain',
|
||||||
:disposition => 'inline'
|
:disposition => 'inline'
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue