diff --git a/lib/pescarte_web/controllers/noti5_controller.ex b/lib/pescarte_web/controllers/noti5_controller.ex new file mode 100644 index 00000000..7a488ea5 --- /dev/null +++ b/lib/pescarte_web/controllers/noti5_controller.ex @@ -0,0 +1,8 @@ +defmodule PescarteWeb.Noti5Controller do + use PescarteWeb, :controller + + def show(conn, _params) do + current_path = conn.request_path + render(conn, :show, current_path: current_path, error_message: nil) + end +end diff --git a/lib/pescarte_web/controllers/noti6_controller.ex b/lib/pescarte_web/controllers/noti6_controller.ex new file mode 100644 index 00000000..d75f3dad --- /dev/null +++ b/lib/pescarte_web/controllers/noti6_controller.ex @@ -0,0 +1,8 @@ +defmodule PescarteWeb.Noti6Controller do + use PescarteWeb, :controller + + def show(conn, _params) do + current_path = conn.request_path + render(conn, :show, current_path: current_path, error_message: nil) + end +end diff --git a/lib/pescarte_web/router.ex b/lib/pescarte_web/router.ex index edfbda81..6833ac55 100644 --- a/lib/pescarte_web/router.ex +++ b/lib/pescarte_web/router.ex @@ -51,6 +51,8 @@ defmodule PescarteWeb.Router do get "/noti2", Noti2Controller, :show get "/noti3", Noti3Controller, :show get "/noti4", Noti4Controller, :show + get "/noti5", Noti5Controller, :show + get "/noti6", Noti6Controller, :show end scope "/publicacoes" do diff --git a/lib/pescarte_web/templates/landing_html/show.html.heex b/lib/pescarte_web/templates/landing_html/show.html.heex index c7330cea..9bc56a19 100644 --- a/lib/pescarte_web/templates/landing_html/show.html.heex +++ b/lib/pescarte_web/templates/landing_html/show.html.heex @@ -63,7 +63,7 @@