diff options
-rw-r--r-- | app/controllers/apidocs_controller.rb | 2 | ||||
-rw-r--r-- | app/controllers/errors_controller.rb | 3 | ||||
-rw-r--r-- | lib/aclog/constants.rb | 8 |
3 files changed, 2 insertions, 11 deletions
diff --git a/app/controllers/apidocs_controller.rb b/app/controllers/apidocs_controller.rb index 7a86fe1..a24a2f2 100644 --- a/app/controllers/apidocs_controller.rb +++ b/app/controllers/apidocs_controller.rb @@ -1,5 +1,5 @@ class ApidocsController < ApplicationController - before_filter :reload_docs + before_action :reload_docs def index @resources = Apidoc.resources diff --git a/app/controllers/errors_controller.rb b/app/controllers/errors_controller.rb index 3f20494..112e2d3 100644 --- a/app/controllers/errors_controller.rb +++ b/app/controllers/errors_controller.rb @@ -1,6 +1,5 @@ class ErrorsController < ApplicationController - skip_before_filter :check_format - before_filter :force_format + before_action :force_format layout :select_layout def render_error diff --git a/lib/aclog/constants.rb b/lib/aclog/constants.rb deleted file mode 100644 index 8d07d46..0000000 --- a/lib/aclog/constants.rb +++ /dev/null @@ -1,8 +0,0 @@ -module Aclog - module Constants - module IssueStatus - RESOLVED = 0 - PENDING = 1 - end - end -end |