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