Skip to content

Commit 0e73cf8

Browse files
committed
Controller should be a class, not a module
1 parent 906eb04 commit 0e73cf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/rails.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4542,7 +4542,7 @@ let s:default_projections = {
45424542
\ 'config/application.rb': {'type': 'environment'},
45434543
\ 'app/controllers/*_controller.rb': {
45444544
\ 'type': 'controller',
4545-
\ 'template': ["module {camelcase|capitalize|colons}Controller < ApplicationController", "end"],
4545+
\ 'template': ["class {camelcase|capitalize|colons}Controller < ApplicationController", "end"],
45464546
\ 'affinity': 'controller'},
45474547
\ 'app/helpers/*_helper.rb': {
45484548
\ 'type': 'helper',

0 commit comments

Comments
 (0)