Sha256: 3b5f0980eb8c2fbb175623919b4221ced425fe0000d39cc3cf505166b4c88224
Contents?: true
Size: 529 Bytes
Versions: 11
Compression:
Stored size: 529 Bytes
Contents
require "rails/railtie" module Cells class Railtie < ::Rails::Railtie initializer "cells.attach_router" do |app| Cell::Base.class_eval do include app.routes.url_helpers end end initializer "cells.setup_view_paths" do |app| Cell::Base.setup_view_paths! end initializer "cells.setup_engines_view_paths" do |app| Cells::Engines.append_engines_view_paths_for(app.config.action_controller) end rake_tasks do load "cells/cells.rake" end end end
Version data entries
11 entries across 11 versions & 1 rubygems