Separated models, controllers and routers
This commit is contained in:
14
Ajax/Router.fs
Normal file
14
Ajax/Router.fs
Normal file
@@ -0,0 +1,14 @@
|
||||
module DredgePos.Ajax.Router
|
||||
|
||||
open Saturn
|
||||
open Giraffe
|
||||
|
||||
let pipeline = pipeline {
|
||||
use_warbler
|
||||
}
|
||||
|
||||
let router = router {
|
||||
getf "/getKeyboardLayout/%s" Controller.getKeyboardLayout
|
||||
get "/languageVars" (json Controller.getLanguageVars)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user