lib/avo/base_resource.rb in avo-3.0.1.beta4 vs lib/avo/base_resource.rb in avo-3.0.1.beta5
- old
+ new
@@ -10,10 +10,10 @@
include Avo::Concerns::ModelClassConstantized
include Avo::Concerns::HasDescription
# Avo::Current methods
delegate :context, to: Avo::Current
- def curent_user
+ def current_user
Avo::Current.user
end
delegate :params, to: Avo::Current
delegate :request, to: Avo::Current
delegate :view_context, to: Avo::Current