Sha256: e722495ed4c74a4086c81164c6515f09cad9a7fdd5803e056eb9d7040e2bdc06

Contents?: true

Size: 172 Bytes

Versions: 4

Compression:

Stored size: 172 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_pages-0.0.4 app/controllers/rails_pages/pages_controller.rb
rails_pages-0.0.3 app/controllers/rails_pages/pages_controller.rb
rails_pages-0.0.2 app/controllers/rails_pages/pages_controller.rb
rails_pages-0.0.1 app/controllers/rails_pages/pages_controller.rb