Koen Punt

Results 284 comments of Koen Punt

I think @kayakyakr answer does answer the question?

You will have to add `bower` to `nvm_map_bins` ``` set :nvm_map_bins, fetch(:nvm_map_bins, []).push 'bower' ```

Oh well, I now see you already have that in your `deploy.rb`

I'm actually using it with a local install of bower (so one that's defined in `package.json`), will test with a global install.

You can already achieve this with `setBasePath`: ``` php $router->map('GET', '/', 'website#index'); $router->setBasePath('/admin'); $router->map('GET', '/', 'admin#index'); $router->setBasePath('/'); $router->map('GET', '/[*:path]', 'pages#show'); ``` But I've actually extended AltoRouter with a `map_namespace` method,...

You can clear the basepath by calling `$router->setBasePath('/')` which I used in my first example.

Can you give an example of how that would work?

Oh I now see your PR

You can simply move the match below the `if`, right?

I think this is a documentation error, because it's often useful to match an extension separate from the path/filename. If you like to change the default behavior, you can do...