Sha256: 71d7d03d80500458512ce27c1fdfdc6df8846f2918d9b73fafa101b254bc730e
Contents?: true
Size: 399 Bytes
Versions: 10
Compression:
Stored size: 399 Bytes
Contents
module Breadcrumble module Generators class ViewsGenerator < ::Rails::Generators::Base source_root File.expand_path('../../../../app/views/breadcrumble', __FILE__) desc 'This generator generates breadcrumbs partial template.' def generate_views name = '_breadcrumb.html.erb' copy_file "#{name}", "app/views/breadcrumble/#{name}" end end end end
Version data entries
10 entries across 10 versions & 1 rubygems