mirror of
https://github.com/publiclab/mapknitter.git
synced 2025-12-05 16:00:00 +01:00
* add warpables and users relationship * make front-ui mobile responsive * clean and reorganize images * handle maps with no images * gallery page * link to all maps if no location selected * test warpables and user relationship * add test/reports to gitignore * add pagination for mappers
14 lines
189 B
Ruby
14 lines
189 B
Ruby
module FrontUiHelper
|
|
def profile_image(author)
|
|
author.warpables.last.image.url
|
|
end
|
|
|
|
def anonymous(maps)
|
|
maps.anonymous
|
|
end
|
|
|
|
def featured(maps)
|
|
maps.featured
|
|
end
|
|
end
|