From 77b353f93eb4ce4d52330f4cf3f0c96b3a956034 Mon Sep 17 00:00:00 2001 From: ya <y@chn.io> Date: Fri, 1 Dec 2017 20:08:58 +0100 Subject: [PATCH] omit being redirected to new when providing new session types - https://lab.allmende.io/degrowth/scriptorium/blob/0c20f85c8008900abd60372f640489978a6ea4e0/app/controllers/events_controller.rb#L249-257 --- app/controllers/events_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/events_controller.rb b/app/controllers/events_controller.rb index 961e056c..003d3a6d 100644 --- a/app/controllers/events_controller.rb +++ b/app/controllers/events_controller.rb @@ -1,6 +1,6 @@ class EventsController < ApplicationController COLLECTION_ACTIONS = [:my, :my_coordinating, :my_reviewed, :with_review, :without_review, :undecided, :cards, :index, :feedbacks] - ALLOWED_EVENT_TYPE_SCOPES = %(all individual_papers special_sessions) + ALLOWED_EVENT_TYPE_SCOPES = %(all individual_papers special_sessions poster_presentations participatory_sessions) before_action :authenticate_user! before_action :not_submitter! before_action :set_is_reviewer -- GitLab