Fix url to notifiable when it is a Legislation Question or Annotation

This commit is contained in:
Amaia Castro
2017-01-20 18:43:59 +01:00
parent 7613091d2e
commit 289b8e044b
3 changed files with 40 additions and 0 deletions

View File

@@ -1,4 +1,6 @@
class NotificationsController < ApplicationController
include CustomUrlsHelper
before_action :authenticate_user!
after_action :mark_as_read, only: :show
skip_authorization_check