Sha256: 6c3bec8421554783182df626991860683ee6be0cdfbd2dd000a8a1c7d426358f
Contents?: true
Size: 668 Bytes
Versions: 14
Compression:
Stored size: 668 Bytes
Contents
# frozen_string_literal: true module ActiveAdmin module Generators class ViewsGenerator < Rails::Generators::Base source_root File.expand_path("../../../", __dir__) def copy_views directory "app/views/layouts" directory "app/views/active_admin", recursive: false directory "app/views/active_admin/devise" directory "app/views/active_admin/kaminari" copy_file "app/views/active_admin/shared/_resource_comments.html.erb" copy_file "app/views/active_admin/resource/_index_blank_slate.html.erb" copy_file "app/views/active_admin/resource/_index_empty_results.html.erb" end end end end
Version data entries
14 entries across 14 versions & 1 rubygems