padrino/padrino-framework — Issue #740: Setting root
Author: ZMaxim
Created: 2011-12-29 20:44:50+00:00
State: open

Hello !

Padrino is really great for building a small app!
Just finished my little app, but I don't find how to set the root
'
get '/' do
render('pages/index')
end
'

If I do that, it renders my pages/index view but it don't render the controller & methode pages#index

What is the right fix to lunch my pages#index for the root url "/" ?