Skip to content

Commit

Permalink
Change the default model name to Document
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Jun 28, 2018
1 parent ac2ad4a commit 3250999
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/generators/blacklight/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ module Blacklight
class Install < Rails::Generators::Base
source_root File.expand_path('../templates', __FILE__)

argument :model_name, type: :string, default: "user"
argument :controller_name, type: :string, default: "catalog"
argument :document_name, type: :string, default: "solr_document"
argument :search_builder_name, type: :string, default: "search_builder"
argument :solr_version, type: :string, default: "latest"
argument :model_name, type: :string, default: "user"
argument :controller_name, type: :string, default: "catalog"
argument :document_name, type: :string, default: 'document'
argument :search_builder_name, type: :string, default: "search_builder"
argument :solr_version, type: :string, default: "latest"

class_option :devise, type: :boolean, default: false, aliases: "-d", desc: "Use Devise as authentication logic."
class_option :marc, type: :boolean, default: false, aliases: "-m", desc: "Generate MARC-based demo."
Expand Down

0 comments on commit 3250999

Please sign in to comment.