module RailsPages class PagesController < ApplicationController def show render :template => File.join('/', params[:controller], params[:id]) end end end