issues api 列表
This commit is contained in:
parent
4f7d698076
commit
43de1a21b1
|
@ -7,7 +7,7 @@ module Mobile
|
|||
|
||||
desc "get special issuse"
|
||||
get ':id' do
|
||||
issue = Issue.find(params[:id])
|
||||
issue = Issue.where("project_id = ?", params[:id])
|
||||
present :data, issue, with: Mobile::Entities::Issue
|
||||
present :status, 0
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue