```ruby
module Notifications
  class ApplicationController < ::ApplicationController
    helper_method :current_user, :owner?, :admin?

    alias_method :origin_current_user, Notifications.config.current_user_method.to_sym
    alias_method :origin_authenticate_user!, Notifications.config.authenticate_user_method.to_sym

    before_action :authenticate_user!

    def current_user
      origin_current_user
    end

    def authenticate_user!
      origin_authenticate_user!
    end
  end
end
```

Fix bad admin?, owner? method in controller
user
```ruby
module Notifications
  class ApplicationController < ::ApplicationController
    helper_method :current_user

    alias_method :origin_current_user, Notifications.config.current_user_method.to_sym
    alias_method :origin_authenticate_user!, Notifications.config.authenticate_user_method.to_sym

    before_action :authenticate_user!

    def current_user
      origin_current_user
    end

    def authenticate_user!
      origin_authenticate_user!
    end
  end
end
```
assistant