fixed version check

This commit is contained in:
Reiner Dieterich 2010-08-20 18:52:34 +02:00
parent faabe06c39
commit 5ea3d5459b

View File

@ -32,7 +32,7 @@ module Facebooker2
}());
</script>
JAVASCRIPT
if ::Rails::VERSION::STRING > "2"
if ::Rails::VERSION::STRING.to_i > 2
js.html_safe
else
block_given? ? concat(js) : js