Class: ActionDispatch::Routing::Mapper

Inherits:
Object
  • Object
show all
Defined in:
lib/lina/rails/router.rb

Instance Method Summary collapse

Instance Method Details

#api_for(path) ⇒ Object



3
4
5
# File 'lib/lina/rails/router.rb', line 3

def api_for(path)
  mount Lina::Engine => path
end