Skip to content

Commit

Permalink
Update ApipieDSL configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
archanaserver committed Oct 18, 2023
1 parent 8701a33 commit 0a58cde
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/initializers/apipie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
trans
end
config.help_layout = 'apipie_dsl/apipie_dsls/help.html.erb'
config.default_model_description = ->(model) { N_("A class representing %s object") % model.model_name.singular.humanize(capitalize: false) }
config.reload_dsl = false
end

Apipie.configure do |config|
Expand Down

0 comments on commit 0a58cde

Please sign in to comment.