Class: ActionDispatch::Routing::Mapper

Inherits:
Object
  • Object
show all
Defined in:
lib/lazy_value/routes.rb

Instance Method Summary collapse

Instance Method Details

#mount_lazy_value_routes(options = {}) ⇒ Object



3
4
5
# File 'lib/lazy_value/routes.rb', line 3

def mount_lazy_value_routes(options = {})
  mount LazyValue::Engine => '/lazy_value', :as => options[:as] || 'lazy_value'
end