Sha256: b8f71bfbf7178b821ca8bdb71b9484d41440acf7f7b131dd9e82c75a5af0284d

Contents?: true

Size: 363 Bytes

Versions: 5

Compression:

Stored size: 363 Bytes

Contents

class ApplicationController < ActionController::Base
  protect_from_forgery with: :null_session

  def ok
    render text: 'Hello Rails'
  end

  def error
    nil.name
  end

  def show
    render json: params
  end

  def create
    render json: params
  end

  def new
    redirect_to :ok
  end

  def update
    @id = params[:id]
    render '/user'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
loga-2.1.2 spec/fixtures/rails50/app/controllers/application_controller.rb
loga-2.1.1 spec/fixtures/rails50/app/controllers/application_controller.rb
loga-2.0.0 spec/fixtures/rails50/app/controllers/application_controller.rb
loga-1.4.0 spec/fixtures/rails50/app/controllers/application_controller.rb
loga-2.1.0 spec/fixtures/rails50/app/controllers/application_controller.rb