Class: Cas::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- Cas::Engine
- Defined in:
- lib/cas/engine.rb
Class Method Summary collapse
Class Method Details
.mounted_path ⇒ Object
26 27 28 29 30 31 |
# File 'lib/cas/engine.rb', line 26 def self.mounted_path route = Rails.application.routes.routes.detect do |current_route| current_route.app == self end route && route.path end |