Sha256: 6aaed5dad6a3b6e35bf7dfc12305b75fec872f0fa3f7383cbb82dfe4e16a47cc

Contents?: true

Size: 487 Bytes

Versions: 2

Compression:

Stored size: 487 Bytes

Contents

module RailsBreadcrumbs
  module Generators
    class RailsBreadcrumbsGenerator < Rails::Generators::Base
      source_root File.expand_path('../templates', __FILE__)

      def generate_rails_breadcrumbs
        copy_file "home.png", "public/images/breadcrumbs/home.png"
        copy_file "rails_breadcrumbs.css", "public/stylesheets/rails_breadcrumbs.css"
        copy_file "rails_breadcrumbs.sass", "public/stylesheets/rails_breadcrumbs.sass"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_breadcrumbs-0.5.4 lib/generators/rails_breadcrumbs/rails_breadcrumbs_generator.rb
rails_breadcrumbs-0.5.3 lib/generators/rails_breadcrumbs/rails_breadcrumbs_generator.rb