fixed version check
This commit is contained in:
parent
faabe06c39
commit
5ea3d5459b
@ -32,7 +32,7 @@ module Facebooker2
|
|||||||
}());
|
}());
|
||||||
</script>
|
</script>
|
||||||
JAVASCRIPT
|
JAVASCRIPT
|
||||||
if ::Rails::VERSION::STRING > "2"
|
if ::Rails::VERSION::STRING.to_i > 2
|
||||||
js.html_safe
|
js.html_safe
|
||||||
else
|
else
|
||||||
block_given? ? concat(js) : js
|
block_given? ? concat(js) : js
|
||||||
|
Loading…
Reference in New Issue
Block a user