|
|
|
@ -6,8 +6,8 @@ class OrgasController < ApplicationController
|
|
|
|
|
before_action :set_mailer_host
|
|
|
|
|
before_action :authenticate_user!, only: [:edit, :update],
|
|
|
|
|
unless: :check_secret
|
|
|
|
|
before_action :authenticate_user!, only: [:validate, :accept, :cancel,
|
|
|
|
|
:destroy]
|
|
|
|
|
before_action :authenticate_user!, except: [:index, :new, :create, :show,
|
|
|
|
|
:edit, :update]
|
|
|
|
|
|
|
|
|
|
def index
|
|
|
|
|
@search = apply_scopes(Orga).moderated.includes(:kind,
|
|
|
|
|