app/controllers/templates_controller.rb in templates-rails-0.1.4 vs app/controllers/templates_controller.rb in templates-rails-0.1.5
- old
+ new
@@ -1,5 +1,5 @@
-class TemplatesController < ActionController::Base
+class TemplatesController < Templates.parent_controller.constantize
def index
render :index, layout: 'templates/index'
end
def show