overleaf/services/web/app/coffee/Features/StaticPages/StaticPagesRouter.coffee

17 lines
785 B
CoffeeScript
Raw Normal View History

2014-06-20 16:17:24 +00:00
HomeController = require('./HomeController')
InfoController = require('./InfoController')
module.exports =
apply: (app) ->
app.get '/', HomeController.index
app.get '/tos', HomeController.externalPage("tos", "Terms of Service")
app.get '/about', HomeController.externalPage("about", "About Us")
app.get '/security', HomeController.externalPage("security", "Security")
app.get '/privacy_policy', HomeController.externalPage("privacy", "Privacy Policy")
app.get '/planned_maintenance', HomeController.externalPage("planned_maintenance", "Planned Maintenance")
app.get '/style', HomeController.externalPage("style_guide", "Style Guide")
app.get '/themes', InfoController.themes
app.get '/advisor', InfoController.advisor
app.get '/dropbox', InfoController.dropbox