Skip to content

Commit 6897a83

Browse files
committed
Remove the spaces after the open bracket and before the close bracket.
All our generated code follow this rule
1 parent 2d6b406 commit 6897a83

File tree

1 file changed

+1
-1
lines changed
  • railties/lib/rails/generators/rails/scaffold_controller/templates

1 file changed

+1
-1
lines changed

railties/lib/rails/generators/rails/scaffold_controller/templates/controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<% end -%>
55
<% module_namespacing do -%>
66
class <%= controller_class_name %>Controller < ApplicationController
7-
before_action :set_<%= singular_table_name %>, only: [ :show, :edit, :update, :destroy ]
7+
before_action :set_<%= singular_table_name %>, only: [:show, :edit, :update, :destroy]
88
99
# GET <%= route_url %>
1010
# GET <%= route_url %>.json

0 commit comments

Comments
 (0)