lib/avo/current.rb in avo-3.0.1.beta5 vs lib/avo/current.rb in avo-3.0.1.beta6
- old
+ new
@@ -28,12 +28,6 @@
delegate :params, to: :request
def request
view_context.request || ActionDispatch::Request.empty
end
-
- def current_user
- Rails.logger.warn "DEPRECATION WARNING: Avo::Current.current_user become deprecated and will become obsolete on futhure versions. Please use Avo::Current.user instead."
-
- user
- end
end