2 Commits ef810c8e03 ... 5f485e64fa

Author SHA1 Message Date
  ANX 5f485e64fa fix: readme 5 years ago
  ANX ef810c8e03 fix: readme 5 years ago
3 changed files with 7 additions and 5 deletions
  1. 5 0
      README.md
  2. 0 3
      app/models/user.rb
  3. 2 2
      template.rb

+ 5 - 0
README.md

@@ -37,3 +37,8 @@ spring stop
 cd ..
 rm -rf myapp
 ```
+
+#### Stimulus (Options)
+```
+$ rake webpacker:install:stimulus
+```

+ 0 - 3
app/models/user.rb

@@ -3,8 +3,5 @@ class User < ApplicationRecord
   # :confirmable, :lockable, :timeoutable and :omniauthable
   devise :database_authenticatable, :registerable, :recoverable, :rememberable, :validatable, :omniauthable
 
-  has_person_name
-
-  has_many :notifications, foreign_key: :recipient_id
   has_many :services
 end

+ 2 - 2
template.rb

@@ -107,7 +107,7 @@ end
 
 def add_webpack
   rails_command 'webpacker:install'
-  rails_command 'webpacker:install:stimulus'
+  # rails_command 'webpacker:install:stimulus'
 end
 
 def add_sidekiq
@@ -168,7 +168,7 @@ after_bundle do
   add_bootstrap
   add_sidekiq
   add_procodile
-  # add_webpack
+  add_webpack
   add_multiple_authentication
 
   copy_templates