View Source FlEx.Router.Methods (fl_ex v0.1.3)
This module helps to handle the http method macros
This module it's just for internal use, it's not necessary implement
Summary
Functions
Adds the path as prefix and the defined plugs for all the scoped routes
Functions
Adds the path as prefix and the defined plugs for all the scoped routes
Example:
scope "/api/v1" do
plug FlEx.Plug.Logger
get "/your_scoped_page", FlExExample.ExampleController, :function_name
end