Sha256: b734c85bbed3abe69fd13b8effcad80d62c0edf6c2c8e0a5cfd020e7f1b1f749
Contents?: true
Size: 428 Bytes
Versions: 19
Compression:
Stored size: 428 Bytes
Contents
module Headmin class DeviseGenerator < Rails::Generators::Base include Rails::Generators::Migration source_root File.expand_path("../../templates", __FILE__) def copy_controllers directory "controllers/auth", "app/controllers/auth" end def copy_views directory "views/auth", "app/views/auth" copy_file "views/layouts/auth.html.erb", "app/views/layouts/auth.html.erb" end end end
Version data entries
19 entries across 19 versions & 1 rubygems