Skip to content

Commit

Permalink
Use #blank? for Rails 2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
edavis10 committed Mar 26, 2010
1 parent 9089cc7 commit 3ec9e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/stuff_to_do/index.html.erb
Expand Up @@ -28,7 +28,7 @@

<div style="clear:both;"></div>

<%= render :partial => 'time_grid' if Setting.plugin_stuff_to_do_plugin['use_time_grid'].present? && Setting.plugin_stuff_to_do_plugin['use_time_grid'] != "0" %>
<%= render :partial => 'time_grid' if !Setting.plugin_stuff_to_do_plugin['use_time_grid'].blank? && Setting.plugin_stuff_to_do_plugin['use_time_grid'] != "0" %>
<% content_for :header_tags do %>
<%= stylesheet_link_tag "stuff_to_do.css", :plugin => "stuff_to_do_plugin", :media => 'all' %>
Expand Down

0 comments on commit 3ec9e9c

Please sign in to comment.