diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index 80b253c..3647060 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -3,6 +3,11 @@ # Home class HomeController < ApplicationController layout 'home_layout' + before_action :check_status + + def check_status + redirect_to '/construction.html' + end def index require 'json' diff --git a/public/404.html b/public/404.html index f939a27..753465c 100644 --- a/public/404.html +++ b/public/404.html @@ -1,6 +1,7 @@ + The page you were looking for doesn't exist (404) + + + + +
+
+

Strona w trakcie budowy.

+

Zapraszamy do wizyty w późniejszym terminie.

+
+
+ +