Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 310f38dd7d
Fetching contributors…

Cannot retrieve contributors at this time

executable file 42 lines (36 sloc) 0.969 kB
module Config.Routes where
--
-- Import modules for which you'll be creating static routes.
--
-- e.g.
-- import App.Layouts.Default
-- import App.Controllers.Home
-- import App.Controllers.Develop
-- import App.Views.Home.Index
-- import App.Views.Develop.Index
--
-- Configure dynamic routes for on-the-fly compiled-and-loaded
-- modules (ala Rails)
--
routes = [ "/:controller/:action/:id.:format"
, "/:controller/:action/:id"
, "/:controller/:action.:format"
, "/:controller/:action"
, "/:controller"
, "/home"
]
--
-- Statically compile and load these Layouts, Controllers and Views
--
staticLayouts =
[
-- ("App/Layouts/Default.hs", "markup", App.Layouts.Default.markup)
]
staticControllers =
[
--("App/Controllers/Home.hs", "index", App.Controllers.Home.index)
]
staticViews =
[
-- ("App/Views/Develop/Index.hs", "markup", App.Views.Develop.Index.markup)
]
Jump to Line
Something went wrong with that request. Please try again.