spec/dummy/app/controllers/home_controller.rb in g5_authenticatable-0.9.1.pre.2 vs spec/dummy/app/controllers/home_controller.rb in g5_authenticatable-1.0.0.pre.1
- old
+ new
@@ -1,9 +1,9 @@
+# frozen_string_literal: true
+
class HomeController < ApplicationController
- before_filter :authenticate_user!, only: :show
+ before_action :authenticate_user!, only: :show
- def index
- end
+ def index; end
- def show
- end
+ def show; end
end