Skip to content

Commit be0df39

Browse files
committed
Remove :: from controller object class names.
1 parent 837ee9c commit be0df39

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/rails_script/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module RailsScript
2-
VERSION = '0.6.0'
2+
VERSION = '0.6.1'
33
end

lib/templates/coffee/assets/javascript.js.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
window.App ||= {}
2-
class App.<%= class_name %> extends App.Base
2+
class App.<%= class_name.gsub('::', '') %> extends App.Base
33

44
beforeAction: (action) =>
55
return

0 commit comments

Comments
 (0)