pic_vert_app/app/controllers/plaquettes_controller.rb

22 lines
289 B
Ruby

# -*- encoding : utf-8 -*-
class PlaquettesController < ApplicationController
def show
respond_to do |format|
format.html {render :template => "plaquettes/"+params[:slug].to_s}
end
end
def gaspillage
render :layout => "gaspillage"
end
end