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

6 lines
106 B
Ruby
Raw Normal View History

2016-08-02 19:54:18 +02:00
module DataHelper
def data_from(identifier)
2018-10-16 23:25:46 +02:00
@items["/data/#{identifier}.yaml"].attributes
2016-08-02 19:54:18 +02:00
end
end