diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-11-24 12:27:15 -0600 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-11-24 12:27:15 -0600 |
commit | 69fa4f7d4f3c435018c1e7cb9e6a0fcb5b233695 (patch) | |
tree | ffbd8bc1e5c820fce33624874088863c43460299 /app/controllers | |
parent | 90b33ab8af91991217cdce3e2d9163756e58a691 (diff) | |
parent | 24696458bf22c8529b49f89b2791e3e07583b7e0 (diff) |
Merge remote-tracking branch 'upstream/master' into merge-glitch
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/settings/exports/bookmarks_controller.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/controllers/settings/exports/bookmarks_controller.rb b/app/controllers/settings/exports/bookmarks_controller.rb new file mode 100644 index 000000000..c12e2f147 --- /dev/null +++ b/app/controllers/settings/exports/bookmarks_controller.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module Settings + module Exports + class BookmarksController < BaseController + include ExportControllerConcern + + def index + send_export_file + end + + private + + def export_data + @export.to_bookmarks_csv + end + end + end +end |