Browse files

Remove unnecessary locals from index.slim

  • Loading branch information...
1 parent ad67c9e commit e388b686192ce6d7b3be6b1d5fcecc6733701db4 @sirmarcel sirmarcel committed Feb 4, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 templates/index.slim
View
4 templates/index.slim
@@ -2,9 +2,9 @@
- if @planned_episodes.length != 0
== slim :"includes/_episode-list", :locals => { :episodes => @planned_episodes, :mode => "mini-date", :status => "planned" }
- if @live_episodes.length != 0
- == slim :"includes/_episode-list", :locals => { :episodes => @live_episodes, :mode => "short", :id => "live_episodes", :list_icon => "bullhorn", :status => "live" }
+ == slim :"includes/_episode-list", :locals => { :episodes => @live_episodes, :mode => "short", :status => "live" }
- if @published_episodes.length != 0
- == slim :"includes/_episode-list", :locals => { :episodes => @published_episodes, :mode => "short", :id => "published_episodes", :status => "published" }
+ == slim :"includes/_episode-list", :locals => { :episodes => @published_episodes, :mode => "short", :status => "published" }
/#paging-links // removed until implemented

0 comments on commit e388b68

Please sign in to comment.