Sha256: 4a51475f127ef29ce78779bf3d6430118d9cfab6c71715298d18de434325b1b0

Contents?: true

Size: 271 Bytes

Versions: 1

Compression:

Stored size: 271 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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cells-4.0.0.rc1 test/rails4.2/app/controllers/songs_controller.rb