Commit 4c14701d authored by Greg Gard's avatar Greg Gard

renaming app to EMT; requirint app/lib/* and addint emt module there

parent 630d20fc
......@@ -5,7 +5,7 @@ module ApplicationHelper
%Q[<div class='emt-navbar'>
#{link_to EMT::BRAND, root_path, class: 'brand'}
#{link_to EMT::APP_NAME, root_path, class: 'brand'}
module EMT
BRAND = "Emergency Transfers"
APP_NAME = "Emergency Transfers"
\ No newline at end of file
......@@ -5,7 +5,7 @@ require 'rails/all'
# you've limited to :test, :development, or :production.
module EmergencyTransfer
module EMT
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 5.2
......@@ -17,6 +17,9 @@ module EmergencyTransfer
# app/lib
Dir[Rails.root.join('app/lib/**/*.rb')].each{|f| require f}
# presenters - rails doesn't seem to recursively load all of app folder
require Rails.root.join('lib/gw/presenter')
Dir[Rails.root.join('app/presenters/components/**/*.rb')].each{|f| require f}
"name": "emergency_transfer",
"name": "emt",
"private": true,
"dependencies": {}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment