Method: WithSlug#slug_parts
- Defined in:
- app/models/concerns/with_slug.rb
#slug_parts ⇒ Object
10 11 12 13 |
# File 'app/models/concerns/with_slug.rb', line 10 def slug_parts org, repo = slug.split('/') {organization: org, repository: repo} end |