Sha256: 5f941b556de1b8f267a516f8a358b01f777ff5d291598c30a70803bd42a44719

Contents?: true

Size: 375 Bytes

Versions: 4

Compression:

Stored size: 375 Bytes

Contents

class HomeController < ApplicationController
  before_action :set_book

  def index
    render layout: false
  end

  def index_with_layout
  end

  def index_partial
  end

  def index_partial_with_full_path
  end

  def index_with_filter
  end

  def erb_with_html_liquid_partial
  end

  private

    def set_book
      @book = { 'name' => 'Liquid on Rails' }
    end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
liquid4-rails5-0.5.0 spec/dummy/app/controllers/home_controller.rb
liquid4-rails5-0.4.0 spec/dummy/app/controllers/home_controller.rb
liquid4-rails5-0.3.0 spec/dummy/app/controllers/home_controller.rb
liquid4-rails5-0.2.1 spec/dummy/app/controllers/home_controller.rb