Sha256: 66b0b8f1062e277b342f435b4ebcdc2e4e865c425441e85e29a6eba22d9405ce

Contents?: true

Size: 365 Bytes

Versions: 106

Compression:

Stored size: 365 Bytes

Contents

# frozen_string_literal: true

#
# Record the user opening the email
#
class NotificationsController < ApplicationController
  #
  # Notification was viewed
  #
  def show
    Notification.find(params[:id]).viewed
  rescue StandardError => error
    log_controller_error error
  ensure
    redirect_to ActionController::Base.helpers.asset_path('1x1.png')
  end
end

Version data entries

106 entries across 106 versions & 1 rubygems

Version Path
web47core-3.2.20 app/controllers/notifications_controller.rb
web47core-3.2.19 app/controllers/notifications_controller.rb
web47core-3.2.18 app/controllers/notifications_controller.rb
web47core-3.2.17 app/controllers/notifications_controller.rb
web47core-3.2.16 app/controllers/notifications_controller.rb
web47core-3.2.15 app/controllers/notifications_controller.rb
web47core-3.2.14 app/controllers/notifications_controller.rb
web47core-3.2.13 app/controllers/notifications_controller.rb
web47core-3.2.12 app/controllers/notifications_controller.rb
web47core-3.2.9 app/controllers/notifications_controller.rb
web47core-3.2.8 app/controllers/notifications_controller.rb
web47core-3.2.7 app/controllers/notifications_controller.rb
web47core-3.2.6 app/controllers/notifications_controller.rb
web47core-3.2.5 app/controllers/notifications_controller.rb
web47core-3.2.4 app/controllers/notifications_controller.rb
web47core-2.2.20 app/controllers/notifications_controller.rb
web47core-2.2.19 app/controllers/notifications_controller.rb
web47core-3.2.3 app/controllers/notifications_controller.rb
web47core-3.2.2 app/controllers/notifications_controller.rb
web47core-2.2.15 app/controllers/notifications_controller.rb