Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit 18e6405

Browse files
committed
Add an optional options parameter to RequirejsHelper#javascript_path
1 parent f8943fb commit 18e6405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/helpers/requirejs_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def requirejs_include_tag(name=nil, &block)
7575
end
7676
end
7777

78-
def javascript_path(name)
78+
def javascript_path(name, options = {})
7979
if defined?(super)
8080
super
8181
else

0 commit comments

Comments
 (0)