```ruby
Rails.application.routes.draw do
  root 'secrets#new'

  resources :secrets, only: [:create, :new, :show]
end
```

Fix bug in tokens with a period
user
```ruby
Rails.application.routes.draw do
  root 'secrets#new'

  resources :secrets, only: [:create, :new, :show], id: /([^\/])+/
end
```
assistant