lib/avo/base_action.rb in avo-3.0.1.beta4 vs lib/avo/base_action.rb in avo-3.0.1.beta5

- old
+ new

@@ -23,10 +23,10 @@ attr_reader :arguments delegate :view, to: :class # TODO: find a differnet way to delegate this to the uninitialized Current variable delegate :context, to: Avo::Current - def curent_user + def current_user Avo::Current.user end delegate :params, to: Avo::Current delegate :view_context, to: Avo::Current delegate :avo, to: :view_context