Class: CollavreLinear::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- CollavreLinear::Engine
- Defined in:
- lib/collavre_linear/engine.rb
Constant Summary collapse
- MOUNT_PATH =
Path this engine is mounted at in the host app (see the
collavre_linear.routesinitializer below). Because the engine isisolate_namespaced and detached, its ownurl_helpersgenerate engine-internal paths WITHOUT this prefix. Anything that needs a URL the host (or an external service like Linear) will actually reach must fold this prefix back in — pass it asscript_name:to the engine url_helper. "/linear"
Class Method Summary collapse
Class Method Details
.javascript_path ⇒ Object
17 18 19 |
# File 'lib/collavre_linear/engine.rb', line 17 def self.javascript_path root.join("app/javascript") end |
.stylesheet_path ⇒ Object
21 22 23 |
# File 'lib/collavre_linear/engine.rb', line 21 def self.stylesheet_path root.join("app/assets/stylesheets") end |