projects
/
selectricity
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
81bd51a
)
Fixed minor bug in the scruffy code.
author
<mako@atdot.cc>
<>
Sat, 11 Aug 2007 00:33:12 +0000
(20:33 -0400)
committer
<mako@atdot.cc>
<>
Sat, 11 Aug 2007 00:33:12 +0000
(20:33 -0400)
app/controllers/graph_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/graph_controller.rb
b/app/controllers/graph_controller.rb
index 0d024468eaebe8ccef25938b4fc3e57404a6bc2f..8a11a42d1d9bfe607161d26056dff706c202c95f 100644
(file)
--- a/
app/controllers/graph_controller.rb
+++ b/
app/controllers/graph_controller.rb
@@
-16,7
+16,8
@@
class GraphController < ApplicationController
# set the labels or create an empty hash
@graph.labels = options[:interval_labels] \
- if options.has_key?(:labels) and options[:labels].class = Hash
+ if options.has_key?(:interval_labels) and \
+ options[:interval_labels].class = Hash
@graph.x_axis_label = options[:x_axis_label] \
if options.has_key?(:x_axis_label)
@graph.y_axis_label = options[:y_axis_label] \
Benjamin Mako Hill
||
Want to submit a patch?