Sha256: 8fe502f71d11e1f879ea03623b6cdc8a14bc7259bc03f51c869b514d06b5d487
Contents?: true
Size: 604 Bytes
Versions: 11
Compression:
Stored size: 604 Bytes
Contents
module EnjuSubject module Generators class ViewsGenerator < Rails::Generators::Base source_root File.expand_path('../../../../app/views', __FILE__) def copy_files directories = %w( classification_types classifications manifestations subject_has_classifications subject_heading_type_has_subjects subject_heading_types subject_types subjects work_has_subjects ) directories.each do |dir| directory dir, "app/views/#{dir}" end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems