Sha256: 78fd1a42bab2160b68289aefa3f213fc77605d4fdd5c0b2592b60a2265cff487

Contents?: true

Size: 272 Bytes

Versions: 7

Compression:

Stored size: 272 Bytes

Contents

# Used to test #store_location & #redirect_back_or
class CommentsController < ApplicationController

  def index
    require_login!
    render plain: "All the comments"
  end

  def new
  end

  def create
    require_login!
    render plain: "Comment created"
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
adeia-1.0.0 spec/test_app/app/controllers/comments_controller.rb
adeia-0.15.4 spec/test_app/app/controllers/comments_controller.rb
adeia-0.15.3 spec/test_app/app/controllers/comments_controller.rb
adeia-0.15.2 spec/test_app/app/controllers/comments_controller.rb
adeia-0.15.1 spec/test_app/app/controllers/comments_controller.rb
adeia-0.15.0 spec/test_app/app/controllers/comments_controller.rb
adeia-0.14.0 spec/test_app/app/controllers/comments_controller.rb