lib/app/controllers/application_controller.rb in hubbub-0.0.9 vs lib/app/controllers/application_controller.rb in hubbub-0.0.10
- old
+ new
@@ -27,9 +27,10 @@
end
true # so we can do "render_404 and return"
end
def feed_publisher_request?
+ logger.info "Feed Publisher Request?"
Hubbub::Config[:publisher] && Hubbub::Config[:publisher][:user_agent] &&
request.env['HTTP_USER_AGENT'].include?(Hubbub::Config[:publisher][:user_agent])
end
def feed_publisher_url