shield v0.2.1 Shield.Web

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

This can be used in your application as:

use Shield.Web, :controller
use Shield.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

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

Macros

__using__(which)

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