Demo entry 6340457

test

   

Submitted by anonymous on Dec 28, 2016 at 11:52
Language: Ruby. Code size: 167 Bytes.

# app/controllers/welcome_controller.rb
class WelcomeController < ApplicationController
  def index
    page = params[:page] || 'index'
    render page
  end
end

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).