Remove redundant logic

This commit is contained in:
Hakan Ensari 2016-04-25 18:59:07 +01:00
parent 702f6ac9aa
commit ce44d37fe0

View File

@ -38,11 +38,7 @@ helpers do
end
def symbols
@symbols ||= begin
params.values_at('symbols', 'currencies').first.tap do |symbols|
symbols.split(',') if symbols
end
end
@symbols ||= params.values_at('symbols', 'currencies').first
end
def jsonp(data)