Sha256: 6c1ba9389a612b5dca2a9660d199687bbd91189b24eea3bf74448e18f8c5d112

Contents?: true

Size: 249 Bytes

Versions: 3

Compression:

Stored size: 249 Bytes

Contents

class Grandstand::TemplatesController < Grandstand::MainController
  skip_before_filter :set_return_path

  def show
    return grandstand_not_found unless @template = Grandstand::Template[params[:id]]
    render :text => @template.render
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
grandstand-0.3.0 app/controllers/grandstand/templates_controller.rb
grandstand-0.2.7 app/controllers/grandstand/templates_controller.rb
grandstand-0.2.6 app/controllers/grandstand/templates_controller.rb