BigW Consortium Gitlab
Instead of converting hash into JSON inside issuable_initial_data method, return hash and convert to JSON later. This allows us to easily extend basic issuable data with resource specific values. For example for Epic these data should include also labels, so we can then do something like: issuable_initial_data(@epic).merge(labels: @epic.labels).to_json
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
abuse_report_mailer | Loading commit data... | |
abuse_reports | Loading commit data... | |
admin | Loading commit data... | |
award_emoji | Loading commit data... | |
ci | Loading commit data... | |
dashboard | Loading commit data... | |
devise | Loading commit data... | |
discussions | Loading commit data... | |
doorkeeper | Loading commit data... | |
email_rejection_mailer | Loading commit data... | |
errors | Loading commit data... | |
events | Loading commit data... | |
explore | Loading commit data... | |
groups | Loading commit data... | |
help | Loading commit data... | |
ide | Loading commit data... | |
import | Loading commit data... | |
invites | Loading commit data... | |
issues | Loading commit data... | |
kaminari/gitlab | Loading commit data... | |
koding | Loading commit data... | |
layouts | Loading commit data... | |
notify | Loading commit data... | |
peek/views | Loading commit data... | |
profiles | Loading commit data... | |
projects | Loading commit data... | |
repository_check_mailer | Loading commit data... | |
search | Loading commit data... | |
sent_notifications | Loading commit data... | |
shared | Loading commit data... | |
sherlock | Loading commit data... | |
snippets | Loading commit data... | |
u2f | Loading commit data... | |
users | Loading commit data... |