Sha256: ad4b850524e0a4ba5b9b819054f5a4a78355a6c44b65df006c113360ee6237a5
Contents?: true
Size: 563 Bytes
Versions: 4
Compression:
Stored size: 563 Bytes
Contents
# frozen_string_literal: true require 'rails/generators/base' module Elabs module Generators class DeviseViewsGenerator < Rails::Generators::Base source_root File.expand_path('../../..', __dir__) def set_source_paths @source_paths = [ File.expand_path('../templates', __dir__), File.expand_path('../../..', __dir__) ] end desc 'Copies custom devise views in your app' def copy_devise_views directory 'spec/dummy/app/views/devise', 'app/views/devise' end end end end
Version data entries
4 entries across 4 versions & 1 rubygems