app/helpers/spotlight/application_helper.rb in blacklight-spotlight-0.16.0 vs app/helpers/spotlight/application_helper.rb in blacklight-spotlight-0.17.0
- old
+ new
@@ -153,10 +153,9 @@
end
private
def main_app_url_helper?(method)
- (method.to_s.end_with?('_path') || method.to_s.end_with?('_url')) &&
- main_app.respond_to?(method)
+ method.to_s.end_with?('_path', '_url') && main_app.respond_to?(method)
end
end
end