Skip to content

Commit c72afde

Browse files
committed
cleanups
1 parent 3dda4fe commit c72afde

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

app/controllers/example_controller.rb

-6
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ def remote_vanilla_es6
2626
def asset_vanilla_es6_js
2727
end
2828

29-
# def remote_vanilla_es6
30-
# end
31-
32-
# def remote_vanilla_es6_js
33-
# end
34-
3529
#remote scripts:
3630
def remote
3731
end

app/views/layouts/application.html.erb

-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
<br/>
2424

2525
<%= link_to "Asset Vanilla ES6.JS", asset_vanilla_es6_js_example_index_path %> <br/>
26-
<%#= link_to "Inlne Vanilla ES6.JS", inline_vanilla_es6_js_example_index_path %> <br/>
27-
<%#= link_to "Remote Vanilla ES6.JS", remote_vanilla_es6_js_example_index_path %> <br/>
2826

2927
<br/>
3028
<br/>

config/routes.rb

+1-4
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,10 @@
66
get 'inline_vanilla_js'
77
get 'remote_vanilla_js'
88
get 'asset_vanilla_es6'
9-
get 'asset_vanilla_es6_js'
109
get 'inline_vanilla_es6'
11-
get 'inline_vanilla_es6_js'
1210
get 'remote_vanilla_es6'
13-
get 'remote_vanilla_es6_js'
11+
get 'asset_vanilla_es6_js'
1412
get 'remote'
15-
get 'remote2'
1613
get 'remote3'
1714
end
1815
end

0 commit comments

Comments
 (0)