class Kablam::Engine

Public Class Methods

mounted_path() click to toggle source
# 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