diff options
| author | Izaak Alpert <ialpert@blackberry.com> | 2013-07-16 17:14:03 -0400 |
|---|---|---|
| committer | Izaak Alpert <ialpert@blackberry.com> | 2013-07-17 22:48:03 -0400 |
| commit | d99594273d57b2d5ed7c748b3185712960b89478 (patch) | |
| tree | 5f5d6da6011465e3521c7c3ab09ec7a38dbef37a /app/contexts | |
| parent | 128f2845770b7a6d553ee764cdbbe63da5ba9e84 (diff) | |
| download | gitlab-ce-d99594273d57b2d5ed7c748b3185712960b89478.tar.gz | |
Style changes from review with @randx
-Some changes around calling origional methods for !for_fork? merge requests. Other changes to follow
Change-Id: I009c716ce2475b9efa3fd07aee9215fca7a1c150
Diffstat (limited to 'app/contexts')
| -rw-r--r-- | app/contexts/filter_context.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/contexts/filter_context.rb b/app/contexts/filter_context.rb index 7349abb8d6e..e7f80e1a4e4 100644 --- a/app/contexts/filter_context.rb +++ b/app/contexts/filter_context.rb @@ -20,12 +20,12 @@ class FilterContext end case params[:status] - when 'closed' - items.closed - when 'all' - items - else - items.opened + when 'closed' + items.closed + when 'all' + items + else + items.opened end end end |
