defmodule <%= application_module %>.Views do defmacro __using__(_options) do quote do use Phoenix.View import unquote(__MODULE__) # This block is expanded within all views for aliases, imports, etc import <%= application_module %>.I18n import <%= application_module %>.Router.Helpers alias Phoenix.Controller.Flash end end # Functions defined here are available to all other views/templates end