Module: Tenon::PieceHelper

Defined in:
app/helpers/tenon/piece_helper.rb

Instance Method Summary collapse

Instance Method Details

#backend_piece_image_tag(piece, options = {}) ⇒ Object



7
8
9
# File 'app/helpers/tenon/piece_helper.rb', line 7

def backend_piece_image_tag(piece, options = {})
  responsive_image_tag(piece, options, Tenon.config.breakpoints.back_end)
end

#piece_image_tag(piece, options = {}) ⇒ Object



3
4
5
# File 'app/helpers/tenon/piece_helper.rb', line 3

def piece_image_tag(piece, options = {})
  responsive_image_tag(piece, options, Tenon.config.breakpoints.front_end)
end