Browse Source

fix bugs

pull/4/head
欧醚 4 years ago
parent
commit
4eb82a685f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      config/routes.rb

+ 1
- 1
config/routes.rb View File

@ -451,7 +451,7 @@ Rails.application.routes.draw do
get '/about/more', to: 'about#more'
get '/terms', to: 'about#terms'
get '/jump/:destin/(*path)', to: 'about#jump', :constraints => { :destin => /[0-z\._\-]+/ }
get '/jump/:destin/(*path)', to: 'about#jump', :constraints => { :destin => /[0-9a-zA-Z\._-]+/ }, :format => 'html'
match '/', via: [:post, :put, :patch, :delete], to: 'application#raise_not_found', format: false
match '*unmatched_route', via: :all, to: 'application#raise_not_found', format: false

Loading…
Cancel
Save