Update to Phoenix 0.15

This commit is contained in:
Mikko Ahlroth 2015-08-04 19:57:57 +03:00
parent 1b269af1bd
commit cd0d2ddf5b
5 changed files with 11 additions and 14 deletions

View file

@ -26,8 +26,7 @@ defmodule MebeWeb.Endpoint do
plug Plug.Session,
store: :cookie,
key: "_mebe_web_key",
signing_salt: "WWhqeGIn",
encryption_salt: "z6/IRyg7"
signing_salt: "WWhqeGIn"
plug :router, MebeWeb.Router
plug MebeWeb.Router
end

View file

@ -31,9 +31,9 @@ defmodule MebeWeb.Mixfile do
# Type `mix help deps` for examples and options
defp deps do
[
{:phoenix, "~> 0.13"},
{:phoenix_live_reload, "~> 0.4"},
{:phoenix_html, "~> 1.0.1"},
{:phoenix, "~> 0.15"},
{:phoenix_live_reload, "~> 0.5", only: :dev},
{:phoenix_html, "~> 1.4"},
{:cowboy, "~> 1.0"},
{:mebe_engine, in_umbrella: true}
]

View file

@ -3,8 +3,6 @@ defmodule MebeWeb.PageController do
alias MebeEngine.DB
plug :action
@posts_per_page Application.get_env(:blog_config, :posts_per_page)
def index(conn, params) do

View file

@ -1,10 +1,10 @@
%{"cowboy": {:hex, :cowboy, "1.0.0"},
%{"cowboy": {:hex, :cowboy, "1.0.2"},
"cowlib": {:hex, :cowlib, "1.0.1"},
"earmark": {:hex, :earmark, "0.1.16"},
"fs": {:hex, :fs, "0.9.2"},
"phoenix": {:hex, :phoenix, "0.13.0"},
"phoenix_html": {:hex, :phoenix_html, "1.0.1"},
"phoenix_live_reload": {:hex, :phoenix_live_reload, "0.4.0"},
"plug": {:hex, :plug, "0.12.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"},
"ranch": {:hex, :ranch, "1.0.0"}}
"ranch": {:hex, :ranch, "1.1.0"}}