Sha256: 4cb14e27b5a5039433b84e4a46fc26e7db45cdfd41ace1de67873093b1f8fe01

Contents?: true

Size: 161 Bytes

Versions: 5

Compression:

Stored size: 161 Bytes

Contents

class DynoController < ApplicationController

  def show
    render pagelet_params[:id]
  end

  private

  def pagelet_params
    params.permit(:id)
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pagelet_rails-0.2.2 test/dummy/app/controllers/dyno_controller.rb
pagelet_rails-0.2.1 test/dummy/app/controllers/dyno_controller.rb
pagelet_rails-0.2.0 test/dummy/app/controllers/dyno_controller.rb
pagelet_rails-0.1.8 test/dummy/app/controllers/dyno_controller.rb
pagelet_rails-0.1.7 test/dummy/app/controllers/dyno_controller.rb