Packages

Gonex - get your Phoenix variables in your Javascript

Current section

Files

Jump to
gonex lib gonex.ex
Raw

lib/gonex.ex

defmodule Gonex do
@moduledoc """
Gonex is a convenient way to send some data from Phoenix Controller to your JavaScript.
It includes:
* `Gonex.Controller` - Functions for working with gon storage within Phoenix Controller.
* `Gonex.View` - Functions for rendering gon script in your templates.
"""
end