Changed filters to readable one. Styled some stuff
This commit is contained in:
parent
4a6596af27
commit
b9ff0c79b4
15 changed files with 96 additions and 48 deletions
|
@ -17,8 +17,8 @@ class MilestonesController < ApplicationController
|
|||
respond_to :html
|
||||
|
||||
def index
|
||||
@milestones = case params[:f].to_i
|
||||
when 1; @project.milestones
|
||||
@milestones = case params[:f]
|
||||
when 'all'; @project.milestones
|
||||
else @project.milestones.active
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue