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