Sha256: e827a428ea40664408dc4f931f255eb298df5cf0872976630f7c24893706e031

Contents?: true

Size: 307 Bytes

Versions: 11

Compression:

Stored size: 307 Bytes

Contents

require "administrate/view_generator"

module Administrate
  module Generators
    module Views
      class SidebarGenerator < Administrate::ViewGenerator
        source_root template_source_path

        def copy_sidebar
          copy_resource_template("_sidebar")
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
administrate-0.6.0 lib/generators/administrate/views/sidebar_generator.rb
administrate-0.5.0 lib/generators/administrate/views/sidebar_generator.rb
administrate-0.4.0 lib/generators/administrate/views/sidebar_generator.rb
administrate-0.3.0 lib/generators/administrate/views/sidebar_generator.rb
administrate-0.2.2 lib/generators/administrate/views/sidebar_generator.rb
administrate-0.2.1 lib/generators/administrate/views/sidebar_generator.rb
administrate-0.2.0 lib/generators/administrate/views/sidebar_generator.rb
administrate-0.2.0.rc1 lib/generators/administrate/views/sidebar_generator.rb
administrate-0.1.5 lib/generators/administrate/views/sidebar_generator.rb
administrate-0.1.4 lib/generators/administrate/views/sidebar_generator.rb
administrate-0.1.3 lib/generators/administrate/views/sidebar_generator.rb