forgeplus/app/controllers/templates_controller.rb

5 lines
126 B
Ruby
Raw Permalink Normal View History

2020-03-09 00:40:16 +08:00
class TemplatesController < ApplicationController
def show
@template = EcTemplate.find_by_name!(params[:name])
end
end