```ruby
Rails.application.routes.draw do
  root 'home#index'

  resources 'workspaces', path: 's', format: false do
    resources 'sequences', param: :name,
                           format: false,
                           constraints: { name: %r{[^\/]+} }
  end

  devise_for :users, path: 'u', format: false
end
```

Change the path prefix of workspace actions
user
```ruby
Rails.application.routes.draw do
  root 'home#index'

  resources 'workspaces', path: 'w', format: false do
    resources 'sequences', param: :name,
                           format: false,
                           constraints: { name: %r{[^\/]+} }
  end

  devise_for :users, path: 'u', format: false
end
```
assistant