Class: ClientSideValidations::Generators::SimpleForm

Inherits:
Object
  • Object
show all
Defined in:
lib/client_side_validations/generators/simple_form.rb

Class Method Summary collapse

Class Method Details

.assetsObject



6
7
8
9
10
11
12
13
14
15
# File 'lib/client_side_validations/generators/simple_form.rb', line 6

def self.assets
  [{
    path: File.expand_path('../../../vendor/assets/javascripts', __dir__),
    file: 'rails.validations.simple_form.js'
  },
   {
     path: File.expand_path('../../../vendor/assets/javascripts', __dir__),
     file: 'rails.validations.simple_form.bootstrap4.js'
   }]
end