Sha256: f67cf7887734cedb0cc826a9dd4cf0ab39fbcca4769c971623d5950f63155a0f
Contents?: true
Size: 438 Bytes
Versions: 1
Compression:
Stored size: 438 Bytes
Contents
module Node_Cms module Generators class LayoutGenerator < Rails::Generators::Base source_root File.expand_path('../../../../app', __FILE__) def generate_partial copy_file "/models/admin.rb", "app/models/admin.rb" directory "../admin" , "app/views/layouts/admin" directory "../../devise" , "app/views/devise" directory "../../../controllers/admin" , "app/controllers/admin" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
node_cms-0.0.2 | lib/generators/node_cms/layout_generator.rb |