Incendium.Controller.__using__
You're seeing just the macro
__using__
, go back to Incendium.Controller module for more information.
Turn the current module into an Icendium controller.
Options:
routes_module
(required) - The module that contains the routes in your application (it should be something likeYourApp.Router.Helpers
):otp_app
(required) - The main OTP application
Examples
defmodule MyApp.IncendiumController do
use Incendium.Controller,
routes_module: MyApp.Router.Helpers,
otp_app: :my_app
end