diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2016-04-06 21:53:17 +0300 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2016-04-06 21:53:17 +0300 |
commit | e6215a9a8ed20354782120a7ce6368c7e8aab9a5 (patch) | |
tree | 44d1c73605a5ffb05c0b831e861ca1ce15fbdfa2 /lib/api/milestones.rb | |
parent | 0728588c3424fd7e75ca3c45ad1ea84063437311 (diff) |
Improve coding and doc style
Diffstat (limited to 'lib/api/milestones.rb')
-rw-r--r-- | lib/api/milestones.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/milestones.rb b/lib/api/milestones.rb index 39efa1b176b..afb6ffa3609 100644 --- a/lib/api/milestones.rb +++ b/lib/api/milestones.rb @@ -27,7 +27,7 @@ module API authorize! :read_milestone, user_project milestones = user_project.milestones - milestones = filter_milestones_state(milestones, params[:state]) unless params[:state].nil? + milestones = filter_milestones_state(milestones, params[:state]) present paginate(milestones), with: Entities::Milestone end |