Sha256: 9b191ec828df462cab9aae77cb1ae780c912f2a779d51a5597018b979280008e

Contents?: true

Size: 336 Bytes

Versions: 58

Compression:

Stored size: 336 Bytes

Contents

class ProfilesController < ApplicationController
  respond_to :props
  respond_to :json

  def show
    if params[:id] == '1'
      @name = 'Test Profile Sr.'
      @bio = 'This is the first test profile'
    else
      @name = 'Test Profile Jr.'
      @bio = 'This is the second test profile'
    end

    respond_with @name
  end
end

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
revelry_core-0.1.24.0 spec/dummy/app/controllers/profiles_controller.rb
revelry_core-0.1.23.0 spec/dummy/app/controllers/profiles_controller.rb
revelry_core-0.1.22.0 spec/dummy/app/controllers/profiles_controller.rb
revelry_core-0.1.21.0 spec/dummy/app/controllers/profiles_controller.rb
revelry_core-0.1.20.0 spec/dummy/app/controllers/profiles_controller.rb
revelry_core-0.1.19.0 spec/dummy/app/controllers/profiles_controller.rb
revelry_core-0.1.18.0 spec/dummy/app/controllers/profiles_controller.rb
revelry_core-0.1.17.0 spec/dummy/app/controllers/profiles_controller.rb
revelry_core-0.1.16.0 spec/dummy/app/controllers/profiles_controller.rb
revelry_core-0.1.15.0 spec/dummy/app/controllers/profiles_controller.rb
revelry_core-0.1.14.0 spec/dummy/app/controllers/profiles_controller.rb
revelry_core-0.1.13.0 spec/dummy/app/controllers/profiles_controller.rb
revelry_core-0.1.12.6 spec/dummy/app/controllers/profiles_controller.rb
revelry_core-0.1.12.5 spec/dummy/app/controllers/profiles_controller.rb
revelry_core-0.1.12.4 spec/dummy/app/controllers/profiles_controller.rb
revelry_core-0.1.12.3 spec/dummy/app/controllers/profiles_controller.rb
revelry_core-0.1.12.2 spec/dummy/app/controllers/profiles_controller.rb
revelry_core-0.1.12.0 spec/dummy/app/controllers/profiles_controller.rb
revelry_core-0.1.11.6 spec/dummy/app/controllers/profiles_controller.rb
revelry_core-0.1.11.5 spec/dummy/app/controllers/profiles_controller.rb