How do I redirect to root – public/index.html?

You can assign a named route to a static file by passing any non-empty string as :controller and the path to the file as the :action for the route: Application.routes.draw do root :controller => ‘static’, :action => “https://stackoverflow.com/” # or # root :controller => ‘static’, :action => ‘/public/index.html’ end # elsewhere redirect_to root_path # redirect … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)