Files
mapknitter/app/helpers/front_ui_helper.rb
Cess 21504ea363 Gallery page and front-page mobile responsive (#762)
* 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
2019-06-28 11:56:50 -04:00

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