Skip to content

Commit

Permalink
Panels are now working
Browse files Browse the repository at this point in the history
  • Loading branch information
rmproyectos committed Feb 21, 2021
1 parent 1f620cf commit 70c1cd6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/views/issues/_index_rest_api_patch.api.rsb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
root_api.identifier issue.identifier
1 change: 1 addition & 0 deletions lib/cosmosys.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require_dependency 'cosmosys/hooks/model_issue_hook'
require_dependency 'cosmosys/hooks/api_issue_show_hook'
require_dependency 'cosmosys/hooks/api_issue_index_hook'

module Cosmosys

Expand Down
7 changes: 7 additions & 0 deletions lib/cosmosys/hooks/api_issue_index_hook.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module Cosmosys
module Hooks
class ApiIssueIndexHook < Redmine::Hook::ViewListener
render_on :api_issue_index_hook, :partial => 'issues/index_rest_api_patch'
end
end
end

0 comments on commit 70c1cd6

Please sign in to comment.