Sha256: ee2399fb4ec1de9aeba3580ad70b1a4e5a3a2193b4a666688ce6bdef07832474
Contents?: true
Size: 574 Bytes
Versions: 7
Compression:
Stored size: 574 Bytes
Contents
# frozen_string_literal: true module Tramway # Rails plugin is the Engine # class Engine < ::Rails::Engine isolate_namespace Tramway initializer 'tramway.load_helpers' do ActiveSupport.on_load(:action_view) do |loaded_class| require 'tramway/helpers/navbar_helper' loaded_class.include Tramway::Helpers::NavbarHelper end ActiveSupport.on_load(:action_controller) do |loaded_class| require 'tramway/helpers/decorate_helper' loaded_class.include Tramway::Helpers::DecorateHelper end end end end
Version data entries
7 entries across 7 versions & 1 rubygems