module Lcms::Engine

Constants

RAILS_5_VERSION
VERSION

Public Class Methods

table_name_prefix() click to toggle source

TODO: Set the correct prefix after renaming all the tables?

# File lib/lcms/engine.rb, line 7
def table_name_prefix
  ''
end
webpacker() click to toggle source
# File lib/lcms/engine.rb, line 11
def webpacker
  @webpacker ||=
    begin
      root_path = Pathname.new File.expand_path('../..', __dir__)
      ::Webpacker::Instance.new(
        root_path: root_path,
        config_path: root_path.join('config/webpacker.yml')
      )
    end
end