app/controllers/rooler/templates_controller.rb in rooler-0.0.5 vs app/controllers/rooler/templates_controller.rb in rooler-0.0.6
- old
+ new
@@ -1,8 +1,11 @@
require_dependency "rooler/application_controller"
module Rooler
class TemplatesController < ApplicationController
+ helper ApplicationHelper
+ include ApplicationHelper
+
before_action :set_template, only: [:test, :show, :edit, :update, :destroy]
def test
test_object = @template.test_object
deliverable = Delivery.new(deliverable: test_object, template: @template) if test_object