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 |
---|---|---|
.. | ||
application_helper_spec.rb | Loading commit data... | |
auth_helper_spec.rb | Loading commit data... | |
auto_devops_helper_spec.rb | Loading commit data... | |
avatars_helper_spec.rb | Loading commit data... | |
award_emoji_helper_spec.rb | Loading commit data... | |
blame_helper_spec.rb | Loading commit data... | |
blob_helper_spec.rb | Loading commit data... | |
boards_helper_spec.rb | Loading commit data... | |
broadcast_messages_helper_spec.rb | Loading commit data... | |
button_helper_spec.rb | Loading commit data... | |
ci_status_helper_spec.rb | Loading commit data... | |
commits_helper_spec.rb | Loading commit data... | |
components_helper_spec.rb | Loading commit data... | |
dashboard_helper_spec.rb | Loading commit data... | |
defer_script_tag_helper_spec.rb | Loading commit data... | |
diff_helper_spec.rb | Loading commit data... | |
emails_helper_spec.rb | Loading commit data... | |
events_helper_spec.rb | Loading commit data... | |
explore_helper_spec.rb | Loading commit data... | |
form_helper_spec.rb | Loading commit data... | |
git_helper_spec.rb | Loading commit data... | |
gitlab_routing_helper_spec.rb | Loading commit data... | |
graph_helper_spec.rb | Loading commit data... | |
groups_helper_spec.rb | Loading commit data... | |
hooks_helper_spec.rb | Loading commit data... | |
icons_helper_spec.rb | Loading commit data... | |
import_helper_spec.rb | Loading commit data... | |
instance_configuration_helper_spec.rb | Loading commit data... | |
issuables_helper_spec.rb | Loading commit data... | |
issues_helper_spec.rb | Loading commit data... | |
labels_helper_spec.rb | Loading commit data... | |
markup_helper_spec.rb | Loading commit data... | |
members_helper_spec.rb | Loading commit data... | |
merge_requests_helper_spec.rb | Loading commit data... | |
milestones_helper_spec.rb | Loading commit data... | |
milestones_routing_helper_spec.rb | Loading commit data... | |
namespaces_helper_spec.rb | Loading commit data... | |
nav_helper_spec.rb | Loading commit data... | |
notes_helper_spec.rb | Loading commit data... | |
notifications_helper_spec.rb | Loading commit data... | |
page_layout_helper_spec.rb | Loading commit data... | |
pagination_helper_spec.rb | Loading commit data... | |
preferences_helper_spec.rb | Loading commit data... | |
profiles_helper_spec.rb | Loading commit data... | |
projects_helper_spec.rb | Loading commit data... | |
rss_helper_spec.rb | Loading commit data... | |
runners_helper_spec.rb | Loading commit data... | |
search_helper_spec.rb | Loading commit data... | |
sidekiq_helper_spec.rb | Loading commit data... | |
storage_health_helper_spec.rb | Loading commit data... | |
storage_helper_spec.rb | Loading commit data... | |
submodule_helper_spec.rb | Loading commit data... | |
tab_helper_spec.rb | Loading commit data... | |
time_helper_spec.rb | Loading commit data... | |
todos_helper_spec.rb | Loading commit data... | |
tree_helper_spec.rb | Loading commit data... | |
u2f_helper_spec.rb | Loading commit data... | |
user_callouts_helper_spec.rb | Loading commit data... | |
users_helper_spec.rb | Loading commit data... | |
version_check_helper_spec.rb | Loading commit data... | |
visibility_level_helper_spec.rb | Loading commit data... | |
wiki_helper_spec.rb | Loading commit data... |