app/main.rb in nephos-server-0.6.1 vs app/main.rb in nephos-server-0.6.2
- old
+ new
@@ -1,9 +1,9 @@
class MainController < Nephos::Controller
before_action :fct_before_all
- before_action :fct_before_root, :root
- after_action :fct_after_root, :root
+ before_action :fct_before_root, only: [:root]
+ after_action :fct_after_root, only: :root
def fct_before_all
# puts "BEFORE ALL"
end