Class: Devise::Views::TailwindcssedGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/devise/generators/tailwindcssed_generator.rb

Overview

This module is responsibel for Devise views generation using Tailwind framework

Instance Method Summary collapse

Instance Method Details

#copy_helpersObject



18
19
20
# File 'lib/devise/generators/tailwindcssed_generator.rb', line 18

def copy_helpers
  directory "app/helpers", "app/helpers"
end

#copy_viewsObject



14
15
16
# File 'lib/devise/generators/tailwindcssed_generator.rb', line 14

def copy_views
  directory "app/views/devise", "app/views/devise"
end