Skip to content

Commit

Permalink
Remove one more deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
Migoo committed Sep 20, 2024
1 parent b83808c commit 2164b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/apipie/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def active_dsl?

# @deprecated Use {#get_resource_id} instead
def get_resource_name(klass)
ActiveSupport::Deprecation.warn(
ActiveSupport::Deprecation.new.warn(
<<~HEREDOC
Apipie::Application.get_resource_name is deprecated.
Use `Apipie::Application.get_resource_id instead.
Expand Down

0 comments on commit 2164b4b

Please sign in to comment.