Acme Bank v1.0.0-dev Backoffice.Web

A module that keeps using definitions for controllers, views and so on.

This can be used in your application as:

use Backoffice.Web, :controller
use Backoffice.Web, :view

The definitions below will be executed for every view, controller, etc, so keep them short and clean, focused on imports, uses and aliases.

Do NOT define functions inside the quoted expressions below.

Summary

Macros

When used, dispatch to the appropriate controller/view/etc

Functions

controller()
model()
router()
view()

Macros

__using__(which)

When used, dispatch to the appropriate controller/view/etc.