Module: C80Features::ApplicationHelper

Defined in:
app/helpers/c80_features/application_helper.rb

Instance Method Summary collapse

Instance Method Details

#render_features_blockObject



12
13
14
15
16
17
18
# File 'app/helpers/c80_features/application_helper.rb', line 12

def render_features_block
  para_all = C80Features::Para.all
  render :partial => 'c80_features/features_block',
         :locals => {
             :para_all => para_all
         }
end

#render_features_block_with_imagesObject



4
5
6
7
8
9
10
# File 'app/helpers/c80_features/application_helper.rb', line 4

def render_features_block_with_images
  para_all = C80Features::Para.all
  render :partial => 'c80_features/features_block_with_images',
         :locals => {
             :para_all => para_all
         }
end