app/controllers/guts/contents_controller.rb in guts-3.0.1 vs app/controllers/guts/contents_controller.rb in guts-3.1.0

- old
+ new

@@ -1,10 +1,10 @@ require_dependency 'guts/application_controller' module Guts # Contents controller class ContentsController < ApplicationController - before_action :set_content, only: %i(show edit update destroy) + before_action :set_content, only: %i[show edit update destroy] before_action :set_type before_action :set_per_page, only: :index # Displays a list of contents # @note This method must have a type set