thesis v0.3.4 Thesis.Controller
Provides a plug that preloads any Thesis content for a page.
Typically, you'll add this to your
web/web.ex file, under the
def controller do quote do use Phoenix.Controller use Thesis.Controller # ... end end
If you'd prefer to only use Thesis in certain controllers, remove it from
web/web.ex and add it to the specific controllers by doing this:
defmodule MyApp.MyController do use Thesis.Controller # ...