app/controllers/msip/admin/oficinas_controller.rb in msip-2.2.0.alfa3 vs app/controllers/msip/admin/oficinas_controller.rb in msip-2.2.0.beta1
- old
+ new
@@ -1,16 +1,15 @@
+# frozen_string_literal: true
-require 'msip/concerns/controllers/oficinas_controller'
+require "msip/concerns/controllers/oficinas_controller"
module Msip
module Admin
class OficinasController < Msip::Admin::BasicasController
-
- before_action :set_oficina,
+ before_action :set_oficina,
only: [:show, :edit, :update, :destroy]
- load_and_authorize_resource class: Msip::Oficina
+ load_and_authorize_resource class: Msip::Oficina
include Msip::Concerns::Controllers::OficinasController
-
end
end
end