```ruby
# frozen_string_literal: true
require "rails/generators"

module DeviseMaterialize
  class InstallGenerator < Rails::Generators::Base
    source_root File.expand_path("../../templates", __FILE__)

    desc "Creates a Devise Materialize Styled Views"
    argument :namespace, type: :string, default: "Users"
    class_option :form_engine, type: :string, default: "default",
                               description: "Define if simple form is used " \
                               "to load views built with simple form"
    class_option :view_engine, type: :string, default: "erb", alias: "-e",
                               description: "Choose a template engine " \
                               "from erb, haml, or slim"

    def generate_views
      puts "Generating Views ....."
      directory "#{options.view_engine.downcase}/#{options.form_engine}",
                "app/views/#{namespace.downcase}"
    end
  end
end
```

Update default namespace to Devise instead of User
user
```ruby
# frozen_string_literal: true
require "rails/generators"

module DeviseMaterialize
  class InstallGenerator < Rails::Generators::Base
    source_root File.expand_path("../../templates", __FILE__)

    desc "Creates a Devise Materialize Styled Views"
    argument :namespace, type: :string, default: "Devise"
    class_option :form_engine, type: :string, default: "default",
                               description: "Choose a form engine " \
                               "(default or simple_form)"
    class_option :view_engine, type: :string, default: "erb",
                               description: "Choose a views engine " \
                               "(erb, haml, or slim)"

    def generate_views
      puts "Generating Views....."
      directory "#{options.view_engine.downcase}/#{options.form_engine}",
                "app/views/#{namespace.downcase}"
    end
  end
end
```
assistant