Hm, something like
```ruby
def create
  shortened_url = ShortenedUrl.create_with_last_accessed params
  payload = {
    id: SlugMaker.slug("#{shortened_url.id} #{params[:dashboard_name} #{params[:graph_title]}"
  }
  render json: payload
end
```
?