./lib/lux/application/README.md in lux-fw-0.5.36 vs ./lib/lux/application/README.md in lux-fw-0.5.37

- old
+ new

@@ -63,21 +63,26 @@ error 404 end ### - routes do + routes do |r| # we show on root method, that target can be multiple object types, 5 variants root [RootController, :index] # calls RootController#index root 'root#call' # calls RootController#call root :call_root # calls "call_root" method in current scope root 'root' # calls RootController#index root 'root#foo' # calls RootController#foo # we can route based on the user status root User.current ? 'main/root' : 'guest' + # simple route + r.about 'static#about' + # map "/api" to "api_router" method + r.api :api_router + # or map api: :api_router # with MainController # map MainController do map 'main' do \ No newline at end of file