lib/framework/rho/render.rb in rhodes-2.3.0 vs lib/framework/rho/render.rb in rhodes-2.3.1.beta.1
- old
+ new
@@ -161,9 +161,11 @@
data = {}
self.instance_variables.each do |sym|
data[sym.to_s] = self.instance_variable_get sym
end
+ data["self"] = self
+
prepared = bind(data,metadata[action])
translate(prepared,action)
end