Skip to content

Commit

Permalink
Update friendly_id.md (#831)
Browse files Browse the repository at this point in the history
fixing typo in class name. remove 4 from ActiveRecord4Adapter
  • Loading branch information
shuaibzahda authored May 23, 2024
1 parent 3329e59 commit eab3019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/friendly_id.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if defined?(CanCanCan)

module CanCan
module ModelAdapters
class ActiveRecord4Adapter < AbstractAdapter
class ActiveRecordAdapter < AbstractAdapter
@@friendly_support = {}

def self.find(model_class, id)
Expand Down

0 comments on commit eab3019

Please sign in to comment.