Class: Rswag::Ui::CustomGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/rswag/ui/custom/custom_generator.rb

Instance Method Summary collapse

Instance Method Details

#add_custom_indexObject



8
9
10
# File 'lib/generators/rswag/ui/custom/custom_generator.rb', line 8

def add_custom_index
  copy_file('index.erb', 'app/views/rswag/ui/home/index.html.erb')
end