Class: ClientSideValidations::Generators::RailsValidations

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

Class Method Summary collapse

Class Method Details

.assetsObject



6
7
8
9
10
11
# File 'lib/client_side_validations/generators/rails_validations.rb', line 6

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