Sha256: cb3ff0cd5d8590d9ddee4a2bfc17f418b3704360e9735d0a6f5bc9b0e178b04d

Contents?: true

Size: 183 Bytes

Versions: 4

Compression:

Stored size: 183 Bytes

Contents

class Admin::TemplatesController < Admin::MainController
  def show
    return admin_not_found unless @template = Template[params[:id]]
    render :text => @template.render
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
grandstand-0.2.4 app/controllers/admin/templates_controller.rb
grandstand-0.2.3 app/controllers/admin/templates_controller.rb
grandstand-0.2.2 app/controllers/admin/templates_controller.rb
grandstand-0.2.1 app/controllers/admin/templates_controller.rb