View Source Igniter.Libs.Phoenix (igniter v0.3.18)

Codemods & utilities for working with Phoenix

Summary

Functions

Link to this function

add_pipeline(igniter, name, contents, opts \\ [])

View Source
Link to this function

add_scope(igniter, route, contents, opts \\ [])

View Source
Link to this function

endpoints_for_router(igniter, router)

View Source
@spec endpoints_for_router(igniter :: Igniter.t(), router :: module()) ::
  {Igniter.t(), [module()]}
Link to this function

select_router(igniter, label \\ "Which router should be modified?")

View Source
@spec web_module_name(String.t()) :: module()

Generates a module name that lives in the Web directory of the current app.