scinote-web/app/controllers/users/settings/account/addons_controller.rb
aignatov-bio f2e5dc8b2f
Add printers to addon page [SCI-5904][SCI-5931] (#3450)
* Add printers to addon page [SCI-5904]

* Fix markup
2021-07-21 13:48:38 +02:00

22 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