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

6 lines
108 B
Ruby
Raw Normal View History

2016-08-02 19:54:18 +02:00
module DataHelper
def data_from(identifier)
2017-06-14 09:09:37 +02:00
@items["/data/#{identifier}"].attributes[:data]
2016-08-02 19:54:18 +02:00
end
end