Merge branch 'weixin_guange' of https://git.trustie.net/jacknudt/trustieforge into weixin_guange
This commit is contained in:
commit
c27fbc7022
|
@ -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