Browse Source

Fixed deprecation warning in Rails 5

Andrew Kane 8 years ago
parent
commit
8b3484dd6e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/controllers/blazer/base_controller.rb

+ 1 - 1
app/controllers/blazer/base_controller.rb

@@ -17,7 +17,7 @@ module Blazer
     end
 
     if Blazer.before_action
-      before_action Blazer.before_action
+      before_action Blazer.before_action.to_sym
     end
 
     layout "blazer/application"