A plug to make your Elixir/Phoenix applications performance more in line with Rails.
Add the following to your mix.exs
:
{:rails, "~> 4.2"}
We suggest adding the following to your pipelines in router.ex
, but you can
also include this in individual controllers.
plug Rails
You can include Rails
several times for more precision. eg:
plug Rails
plug Rails
plug Rails
plug Rails