Sha256: 9d417c19b39092f5d704a628e0acddede594043a28eb86c4834672e6be07919f

Contents?: true

Size: 328 Bytes

Versions: 4

Compression:

Stored size: 328 Bytes

Contents

require 'rails/generators/base'
module RailsModularAdmin
	module Generators
class ViewsGenerator < Rails::Generators::NamedBase
  source_root File.expand_path('templates', __dir__)

  def copy_dashboard_view
  end

  def copy_layout
  	copy_file "application.html.erb", "app/views/layouts/application.html.erb"
  end
end
end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_modular_admin-0.4.0 lib/generators/rails_modular_admin/views_generator.rb
rails_modular_admin-0.3.1 lib/generators/rails_modular_admin/views_generator.rb
rails_modular_admin-0.3.0 lib/generators/rails_modular_admin/views_generator.rb
rails_modular_admin-0.2.4 lib/generators/rails_modular_admin/views_generator.rb