app/controllers/landable/api/template_revisions_controller.rb in landable-1.13.1 vs app/controllers/landable/api/template_revisions_controller.rb in landable-1.13.2

- old
+ new

@@ -1,10 +1,9 @@ -require_dependency "landable/api_controller" +require_dependency 'landable/api_controller' module Landable module Api class TemplateRevisionsController < ApiController - def index template = Template.find(params[:template_id]) respond_with template.revisions.order(:ordinal).reverse end