首圖

使用自己的路由規則 # config/application.rbconfig.exceptions_app = self.routes 設定路由 # config/routes.rbif Rails.env.production? get "/404" => "errors#not_found", :as => "not_found" get "......