mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 12:16:06 +08:00
f2e5dc8b2f
* Add printers to addon page [SCI-5904] * Fix markup
21 lines
472 B
Ruby
21 lines
472 B
Ruby
module Users
|
|
module Settings
|
|
module Account
|
|
class AddonsController < ApplicationController
|
|
layout 'fluid'
|
|
|
|
before_action :load_printers, only: :index
|
|
|
|
def label_printer
|
|
@printer = { printer_type: :fluics, ready: true, api_key: 'ISVO42192IUDV168ATFI314UVYGU151USHYEV42' }
|
|
end
|
|
|
|
private
|
|
|
|
def load_printers
|
|
@fluics_printer = { ready: true, enabled: true }
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|