app/models/carnival/action.rb in carnival-0.3.1 vs app/models/carnival/action.rb in carnival-0.3.2
- old
+ new
@@ -39,9 +39,13 @@
else
false
end
end
+ def data
+ @params[:data]
+ end
+
def show(record)
return true if !params[:show_func]
return true if !record.respond_to? params[:show_func]
record.send params[:show_func]
end