```ruby
JsonSchemaRails::Engine.routes.draw do
  get '*schema(.:format)', to: 'schemas#get'
end
```

Fix schema route for Rails 3
user
```ruby
JsonSchemaRails::Engine.routes.draw do
  get '/:schema(.:format)', to: 'schemas#get', constraints: { schema: /[\/a-zA-Z0-9_-]+/ }
end
```
assistant