Sha256: 378d788f05ff93c16d7c18953a21d58f4cc4dcb4c0617410039be0123ca7ab64

Contents?: true

Size: 677 Bytes

Versions: 14

Compression:

Stored size: 677 Bytes

Contents

require "madmin/view_generator"

module Madmin
  module Generators
    class ViewsGenerator < Madmin::ViewGenerator
      def copy_templates
        # Some generators duplicate templates, so not everything is present here
        call_generator("madmin:views:edit", resource_path, "--namespace", namespace)
        call_generator("madmin:views:index", resource_path, "--namespace", namespace)
        call_generator("madmin:views:layout", resource_path, "--namespace", namespace)
        call_generator("madmin:views:new", resource_path, "--namespace", namespace)
        call_generator("madmin:views:show", resource_path, "--namespace", namespace)
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
madmin-2.0.0 lib/generators/madmin/views/views_generator.rb
madmin-1.2.11 lib/generators/madmin/views/views_generator.rb
madmin-1.2.10 lib/generators/madmin/views/views_generator.rb
madmin-1.2.9 lib/generators/madmin/views/views_generator.rb
madmin-1.2.8 lib/generators/madmin/views/views_generator.rb
madmin-1.2.7 lib/generators/madmin/views/views_generator.rb
madmin-1.2.6 lib/generators/madmin/views/views_generator.rb
madmin-1.2.5 lib/generators/madmin/views/views_generator.rb
madmin-1.2.4 lib/generators/madmin/views/views_generator.rb
madmin-1.2.3 lib/generators/madmin/views/views_generator.rb
madmin-1.2.2 lib/generators/madmin/views/views_generator.rb
madmin-1.2.1 lib/generators/madmin/views/views_generator.rb
madmin-1.2.0 lib/generators/madmin/views/views_generator.rb
madmin-1.1.0 lib/generators/madmin/views/views_generator.rb