mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Adds routing error check in conference#show
Adds make_conference_public to conference factory Added test
This commit is contained in:
parent
291a61bc8d
commit
2b94ba0281
4 changed files with 23 additions and 7 deletions
|
|
@ -72,4 +72,8 @@ class ApplicationController < ActionController::Base
|
|||
redirect_to root_path, :alert => exception.message
|
||||
end
|
||||
helper_method :organizer_or_admin?
|
||||
|
||||
def not_found
|
||||
raise ActionController::RoutingError.new('Not Found')
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue