Browse Source

Add trailing comma

Chris Oliver 6 years ago
parent
commit
d986efa852
1 changed files with 1 additions and 1 deletions
  1. 1 1
      template.rb

+ 1 - 1
template.rb

@@ -153,7 +153,7 @@ def add_administrate
 
 
   gsub_file "app/dashboards/user_dashboard.rb",
   gsub_file "app/dashboards/user_dashboard.rb",
     /email: Field::String/,
     /email: Field::String/,
-    "email: Field::String,\n\t\tField::String.with_options(searchable: false)"
+    "email: Field::String,\n\t\tField::String.with_options(searchable: false),"
 
 
   gsub_file "app/dashboards/user_dashboard.rb",
   gsub_file "app/dashboards/user_dashboard.rb",
     /FORM_ATTRIBUTES = \[/,
     /FORM_ATTRIBUTES = \[/,