zeus.ugent.be/lib/helpers/data.rb

6 lines
113 B
Ruby
Raw Permalink Normal View History

2016-08-02 19:54:18 +02:00
module DataHelper
def data_from(identifier)
2019-05-22 19:38:54 +02:00
@items["/data/#{identifier}.yaml"].attributes[:data]
2016-08-02 19:54:18 +02:00
end
end