class Authenticatable::Generators::ViewsGenerator
Public Instance Methods
copy_views()
click to toggle source
# File lib/generators/authenticatable/views_generator.rb, line 13 def copy_views scope_directory = (scope == "authenticatable" ? "authenticatable" : ActiveSupport::Inflector.pluralize(scope)) directory "app/views/authenticatable", "app/views/#{scope_directory}" end