Sha256: 0e446f6244ccb53341b69e3453ac7eae091bd7d54c655b0bcdcefcce0d27e58b

Contents?: true

Size: 401 Bytes

Versions: 6

Compression:

Stored size: 401 Bytes

Contents

class SongsController < ApplicationController
  def show
    # renders show.html.haml
  end

  def index
    render text: cell(:song).()
  end

  def new
    render text: cell(:song).url_for(Song.new)
  end

  def edit
    render text: cell(:song).video_path(1)
  end

  def with_image_tag
    render text: cell(:song).image_tag("logo.png")
  end

  def with_escaped
    render layout: false
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cells-4.0.5 test/rails4.2/app/controllers/songs_controller.rb
cells-4.0.4 test/rails4.2/app/controllers/songs_controller.rb
cells-4.0.3 test/rails4.2/app/controllers/songs_controller.rb
cells-4.0.2 test/rails4.2/app/controllers/songs_controller.rb
cells-4.0.1 test/rails4.2/app/controllers/songs_controller.rb
cells-4.0.0 test/rails4.2/app/controllers/songs_controller.rb