2016-06-16 23:09:34 +05:30
|
|
|
module JavascriptHelper
|
2016-08-24 12:49:21 +05:30
|
|
|
def page_specific_javascript_tag(js)
|
2017-08-17 22:00:37 +05:30
|
|
|
javascript_include_tag asset_path(js)
|
|
|
|
end
|
|
|
|
|
|
|
|
# deprecated; use webpack_bundle_tag directly instead
|
|
|
|
def page_specific_javascript_bundle_tag(bundle)
|
|
|
|
webpack_bundle_tag(bundle)
|
2016-06-16 23:09:34 +05:30
|
|
|
end
|
|
|
|
end
|