May 2015
Intermediate to advanced
274 pages
5h 11m
English
In this chapter, we will be covering the following topics:
All the supported routes are specified within a single file: routes (by default). This makes it all the easier to figure out which one would be ideal.
The routes file is compiled and if any errors occur, the compilation fails.
However, the routes file is not a Scala object. So how does the compiler know what to do with the routes file? To find this out, let's perform the following steps:
index.scala.html home page as follows:<!DOCTYPE html> <html> <head> ...
Read now
Unlock full access