Class: Kablam::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- Kablam::Engine
- Defined in:
- lib/kablam/engine.rb
Class Method Summary collapse
Class Method Details
.mounted_path ⇒ Object
3 4 5 6 7 8 |
# File 'lib/kablam/engine.rb', line 3 def self.mounted_path route = Rails.application.routes.routes.detect do |route| route.app == self end route && route.path end |