ruby-x.github.io/app/controllers/slides_controller.rb

8 lines
146 B
Ruby

class SlidesController < ApplicationController
def index
render( template: "slides/#{params[:slide]}/index" , layout: false )
end
end