Sha256: 0d2c00318b0b3bbe8e2dca468cc81ac58a53349aa696e5a1d443addfe8d4fcf1

Contents?: true

Size: 202 Bytes

Versions: 3

Compression:

Stored size: 202 Bytes

Contents

class BooksController < ApplicationController
  def hello
  end

  def with_variables
    @book = Book.new(params.permit(:title))
  end

  def object_ref
    @book = Book.new(id: params[:id])
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
faml-0.6.0 spec/rails/app/controllers/books_controller.rb
faml-0.5.1 spec/rails/app/controllers/books_controller.rb
faml-0.5.0 spec/rails/app/controllers/books_controller.rb