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

# An example controller showing a sample home page
GET     /                           		controllers.Home.index

POST	/images								controllers.Images.save
GET		/images								controllers.Images.index
GET		/images/:checksum/thumbnail			controllers.Images.thumbnail(checksum:String)
GET		/images/:checksum/reference			controllers.Images.reference(checksum:String)
GET		/images/:checksum					controllers.Images.show(checksum:String)


GET		/colors								controllers.Colors.index

GET		/colors/:hex/sample/:width/:height	controllers.Colors.sample(hex:String, width: Integer, height: Integer)

# Map static resources from the /public folder to the /assets URL path
GET     /assets/*file               		controllers.Assets.versioned(path="/public", file: Asset)
