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