Sha256: e8f837c9dbc117eebeec5a2a0124f60ec99fe2ca86524a19e7f23a14150d459e
Contents?: true
Size: 1.1 KB
Versions: 3
Compression:
Stored size: 1.1 KB
Contents
# frozen_string_literal: true module Generapp module Actions #:nodoc # App views configuration # associated actions module Views def create_shared_directory empty_directory_with_keep_file 'app/views/shared' end def create_shared_flashes copy_file 'views/_flashes.html.erb', 'app/views/shared/_flashes.html.erb' end def create_shared_javascripts copy_file 'views/_javascript.html.erb', 'app/views/shared/_javascript.html.erb' end def create_shared_head template 'views/_head.html.erb.erb', 'app/views/shared/_head.html.erb' end def create_application_layout template 'views/generapp_layout.html.erb.erb', 'app/views/layouts/application.html.erb', force: true end def create_humans_txt copy_file 'public/humans.txt', 'public/humans.txt' end def create_manifest template 'public/manifest.json.erb', 'public/manifest.json' end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
generapp-0.4.0 | lib/generapp/actions/views.rb |
generapp-0.3.2 | lib/generapp/actions/views.rb |
generapp-0.3.1 | lib/generapp/actions/views.rb |