webrat/spec/integration/rails/app/controllers/links_controller.rb

8 lines
144 B
Ruby

class LinksController < ApplicationController
def show
if params[:value]
render :text => "Link:#{params[:value]}"
end
end
end