Current section
12 Versions
Jump to
Current section
12 Versions
Compare versions
3
files changed
+3
additions
-3
deletions
| @@ -151,7 +151,7 @@ Example response Carve will render for this view: | |
| 151 151 | |
| 152 152 | Carve provides a flexible way to control which linked data is included in the response. This is achieved through the include parameter. Here's an example of how to use Carve in your Phoenix controllers: |
| 153 153 | |
| 154 | - ```ex |
| 154 | + ```elixir |
| 155 155 | defmodule UserController do |
| 156 156 | use FooWeb, :controller |
| @@ -1,6 +1,6 @@ | |
| 1 1 | {<<"links">>,[{<<"GitHub">>,<<"https://github.com/azer/carve">>}]}. |
| 2 2 | {<<"name">>,<<"carve">>}. |
| 3 | - {<<"version">>,<<"0.1.3">>}. |
| 3 | + {<<"version">>,<<"0.1.4">>}. |
| 4 4 | {<<"description">>, |
| 5 5 | <<"DSL for building JSON APIs fast. Creates endpoint views, renders linked data automatically.">>}. |
| 6 6 | {<<"elixir">>,<<"~> 1.12">>}. |
| @@ -4,7 +4,7 @@ defmodule Carve.MixProject do | |
| 4 4 | def project do |
| 5 5 | [ |
| 6 6 | app: :carve, |
| 7 | - version: "0.1.3", |
| 7 | + version: "0.1.4", |
| 8 8 | elixir: "~> 1.12", |
| 9 9 | start_permanent: Mix.env() == :prod, |
| 10 10 | deps: deps(), |