diff --git a/app/views/arguments/index.html.slim b/app/views/arguments/index.html.slim index 65d33e2..ae09b0c 100644 --- a/app/views/arguments/index.html.slim +++ b/app/views/arguments/index.html.slim @@ -21,13 +21,10 @@ h1 =t '.title', :default => model_class.model_name.human.pluralize.titleize div role="navigation" ul.nav.nav-tabs - li class="#{action_name=='controversial' ? 'active' : ''}" =link_to "Controversial", controversial_arguments_path - li class="#{action_name=='popular' ? 'active' : ''}" =link_to "Popular", popular_arguments_path - li class="#{action_name=='decided' ? 'active' : ''}" =link_to "Decided", decided_arguments_path - li class="#{action_name=='valid' ? 'active' : ''}" =link_to "Valid", valid_arguments_path - li class="#{action_name=='invalid' ? 'active' : ''}" =link_to "Invalid", invalid_arguments_path li class="#{action_name=='active' ? 'active' : ''}" =link_to "Active", active_arguments_path li class="#{action_name=='newest' ? 'active' : ''}" =link_to "Newest", newest_arguments_path + li class="#{action_name=='controversial' ? 'active' : ''}" =link_to "Controversial", controversial_arguments_path + li class="#{action_name=='decided' ? 'active' : ''}" =link_to "Threshold Reached", decided_arguments_path table.table - @arguments.each do |argument|