Module: ArtifactsHelper
- Defined in:
- app/helpers/artifacts_helper.rb
Instance Method Summary collapse
Instance Method Details
#artifacts_app_data(project) ⇒ Object
4 5 6 7 8 9 10 |
# File 'app/helpers/artifacts_helper.rb', line 4 def artifacts_app_data(project) { project_path: project.full_path, project_id: project.id, can_destroy_artifacts: can?(current_user, :destroy_artifacts, project).to_s } end |