mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-22 02:52:49 +01:00
Remove redundant logic
This commit is contained in:
parent
702f6ac9aa
commit
ce44d37fe0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user