File tree Expand file tree Collapse file tree 7 files changed +7
-10
lines changed Expand file tree Collapse file tree 7 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ defmodule MediaServerWeb.MoviesLive.Index do
53
53
{
54
54
:noreply ,
55
55
socket
56
- |> push_redirect ( to: ~p" /movies?query=#{ query } " )
56
+ |> push_navigate ( to: ~p" /movies?query=#{ query } " )
57
57
}
58
58
end
59
59
end
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ defmodule MediaServerWeb.PeopleLive.Index do
53
53
{
54
54
:noreply ,
55
55
socket
56
- |> push_redirect ( to: ~p" /people?query=#{ query } " )
56
+ |> push_navigate ( to: ~p" /people?query=#{ query } " )
57
57
}
58
58
end
59
59
end
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ defmodule MediaServerWeb.SearchLive.Index do
44
44
{
45
45
:noreply ,
46
46
socket
47
- |> push_redirect ( to: ~p" /search?query=#{ query } " )
47
+ |> push_navigate ( to: ~p" /search?query=#{ query } " )
48
48
}
49
49
end
50
50
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ defmodule MediaServerWeb.SeriesLive.Index do
53
53
{
54
54
:noreply ,
55
55
socket
56
- |> push_redirect ( to: ~p" /series?query=#{ query } " )
56
+ |> push_navigate ( to: ~p" /series?query=#{ query } " )
57
57
}
58
58
end
59
59
end
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ defmodule MediaServerWeb.SettingsLive.Index do
34
34
:noreply ,
35
35
socket
36
36
|> put_flash ( :info , "Success" )
37
- |> push_redirect ( to: Routes . settings_index_path ( socket , :index ) )
37
+ |> push_navigate ( to: Routes . settings_index_path ( socket , :index ) )
38
38
}
39
39
40
40
{ :error , % Ecto.Changeset { } = changeset } ->
@@ -55,7 +55,7 @@ defmodule MediaServerWeb.SettingsLive.Index do
55
55
:noreply ,
56
56
socket
57
57
|> put_flash ( :info , "Success" )
58
- |> push_redirect ( to: Routes . settings_index_path ( socket , :index ) )
58
+ |> push_navigate ( to: Routes . settings_index_path ( socket , :index ) )
59
59
}
60
60
61
61
{ :error , % Ecto.Changeset { } = changeset } ->
Original file line number Diff line number Diff line change @@ -44,8 +44,6 @@ defmodule MediaServerWeb.Router do
44
44
live "/people" , PeopleLive.Index , :index
45
45
live "/people/:id" , PeopleLive.Show , :show
46
46
47
- live "/history" , HistoryLive.Index , :index
48
-
49
47
live "/search" , SearchLive.Index , :index
50
48
51
49
live "/settings" , SettingsLive.Index , :index
Original file line number Diff line number Diff line change 5
5
< meta http-equiv = "X-UA-Compatible " content = "IE=edge " />
6
6
< meta name = "viewport " content = "width=device-width, initial-scale=1.0 " />
7
7
<%= csrf_meta_tag ( ) %>
8
- <%= live_title_tag ( assigns [ :page_title ] ) %>
9
-
8
+ < . live_title > <%= assigns [ :page_title ] %> </ . live_title >
10
9
< link rel = "apple-touch-icon " sizes = "57x57 " href = "/apple-icon-57x57.png " />
11
10
< link rel = "apple-touch-icon " sizes = "60x60 " href = "/apple-icon-60x60.png " />
12
11
< link rel = "apple-touch-icon " sizes = "72x72 " href = "/apple-icon-72x72.png " />
You can’t perform that action at this time.
0 commit comments