Permalink
Browse files

add empty params check

  • Loading branch information...
1 parent d57542f commit 46936393ecdce2982b9fdac17d7d9e5a78fdff71 @Capncavedan committed Nov 15, 2013
Showing with 3 additions and 0 deletions.
  1. BIN public/images/gain_ratios.png
  2. +3 −0 views/index.erb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -33,6 +33,7 @@
</form>
+ <% unless params.empty? %>
<table>
<thead>
<tr>
@@ -61,4 +62,6 @@
<br/>
<img width="400" height="300" src="/images/gain_ratios.png" />
+ <% end %>
+
</body>

0 comments on commit 4693639

Please sign in to comment.