Merge branch 'weixin_guange' of https://git.trustie.net/jacknudt/trustieforge into weixin_guange

This commit is contained in:
guange 2016-03-26 15:52:48 +08:00
commit c27fbc7022
1 changed files with 1 additions and 1 deletions

View File

@ -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