class PrintClerk::Engine

Public Class Methods

activate() click to toggle source
# File lib/print_clerk.rb, line 18
def self.activate
  Dir.glob(File.join(File.dirname(__FILE__), '../app/**/*_decorator.rb')) do |c|
    Rails.configuration.cache_classes ? require(c) : load(c)
  end
end

Public Instance Methods

office_assets() click to toggle source

indicate that we have stylesheet/js stuff to be added to office, with the given name files (css + js) must exist in asset path

# File lib/print_clerk.rb, line 7
def office_assets
  "print_office"
end