thesis v0.3.4 Thesis.Router
Creates the routes that Thesis uses to handle requests from its javascript editor client as well as static assets.
Typically, you'll add this to your web/web.ex
file, under the router
function:
def router do
quote do
use Phoenix.Router
use Thesis.Router
# ...
end
end
If you'd prefer, you can remove it from web/web.ex
and add it to the router
yourself:
defmodule MyApp.Router do
use Thesis.Router
# ...