Update to Phoenix 1.0
This commit is contained in:
parent
5390da1d93
commit
24eb944cbd
3 changed files with 11 additions and 10 deletions
|
@ -3,7 +3,7 @@ defmodule MebeWeb.Mixfile do
|
|||
|
||||
def project do
|
||||
[app: :mebe_web,
|
||||
version: "0.0.1",
|
||||
version: "1.0.0",
|
||||
deps_path: "../../deps",
|
||||
lockfile: "../../mix.lock",
|
||||
elixir: "~> 1.0",
|
||||
|
@ -31,9 +31,9 @@ defmodule MebeWeb.Mixfile do
|
|||
# Type `mix help deps` for examples and options
|
||||
defp deps do
|
||||
[
|
||||
{:phoenix, "~> 0.15"},
|
||||
{:phoenix_live_reload, "~> 0.5", only: :dev},
|
||||
{:phoenix_html, "~> 1.4"},
|
||||
{:phoenix, "~> 1.0"},
|
||||
{:phoenix_live_reload, "~> 1.0", only: :dev},
|
||||
{:phoenix_html, "~> 2.2"},
|
||||
{:cowboy, "~> 1.0"},
|
||||
{:mebe_engine, in_umbrella: true}
|
||||
]
|
||||
|
|
|
@ -8,6 +8,7 @@ defmodule MebeWeb.Router do
|
|||
plug :accepts, ["html", "xml"]
|
||||
plug :fetch_session
|
||||
plug :fetch_flash
|
||||
plug :put_secure_browser_headers
|
||||
end
|
||||
|
||||
scope "/", MebeWeb do
|
||||
|
|
12
mix.lock
12
mix.lock
|
@ -1,10 +1,10 @@
|
|||
%{"cowboy": {:hex, :cowboy, "1.0.2"},
|
||||
"cowlib": {:hex, :cowlib, "1.0.1"},
|
||||
"earmark": {:hex, :earmark, "0.1.16"},
|
||||
"earmark": {:hex, :earmark, "0.1.17"},
|
||||
"fs": {:hex, :fs, "0.9.2"},
|
||||
"phoenix": {:hex, :phoenix, "0.15.0"},
|
||||
"phoenix_html": {:hex, :phoenix_html, "1.4.0"},
|
||||
"phoenix_live_reload": {:hex, :phoenix_live_reload, "0.5.2"},
|
||||
"plug": {:hex, :plug, "0.14.0"},
|
||||
"poison": {:hex, :poison, "1.4.0"},
|
||||
"phoenix": {:hex, :phoenix, "1.0.1"},
|
||||
"phoenix_html": {:hex, :phoenix_html, "2.2.0"},
|
||||
"phoenix_live_reload": {:hex, :phoenix_live_reload, "1.0.0"},
|
||||
"plug": {:hex, :plug, "1.0.0"},
|
||||
"poison": {:hex, :poison, "1.5.0"},
|
||||
"ranch": {:hex, :ranch, "1.1.0"}}
|
||||
|
|
Reference in a new issue