2020-11-20 03:48:13 +11:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Settings
|
|
|
|
module Exports
|
|
|
|
class BookmarksController < BaseController
|
2023-12-01 01:39:41 +11:00
|
|
|
include Settings::ExportControllerConcern
|
2020-11-20 03:48:13 +11:00
|
|
|
|
|
|
|
def index
|
|
|
|
send_export_file
|
|
|
|
end
|
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
def export_data
|
|
|
|
@export.to_bookmarks_csv
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|