# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~

# Home page
GET     /                                       Application.index
GET		/register								Application.register
POST	/addUser								Application.addUser
GET 	/delete									Application.delete
POST	/deleteUser								Application.deleteUser
GET		/fieldValidation						Application.validateFirstName(format:'json')
GET		/formValidation							Application.validateForm(format:'json')

	
# Map static resources from the /app/public folder to the /public path
GET     /public/                                staticDir:public

# Catch all
*       /{controller}/{action}                  {controller}.{action}
