Merge branch 'master' into render_show_if_one_conf
This commit is contained in:
commit
747ecc80e9
77 changed files with 822 additions and 115 deletions
|
|
@ -3,7 +3,7 @@ require 'mina/rails'
|
|||
require 'mina/git'
|
||||
|
||||
set :domain, 'proxy-opensuse.suse.de'
|
||||
set :port, 2214
|
||||
set :port, 2252
|
||||
set :user, 'osem'
|
||||
set :deploy_to, '/srv/www/vhosts/opensuse.org/events'
|
||||
set :repository, 'https://github.com/openSUSE/osem.git'
|
||||
|
|
@ -42,7 +42,7 @@ task deploy: :environment do
|
|||
#invoke :notify_errbit
|
||||
|
||||
to :launch do
|
||||
queue "sudo /etc/init.d/apache2 restart"
|
||||
queue "sudo /usr/bin/systemctl restart apache2"
|
||||
queue "cd #{deploy_to}/current && RAILS_ENV=production bin/delayed_job start"
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -149,7 +149,11 @@ Osem::Application.routes.draw do
|
|||
get '/revision_history/:id/revert_object' => 'versions#revert_object', as: 'revision_history_revert_object'
|
||||
get '/revision_history/:id/revert_attribute' => 'versions#revert_attribute', as: 'revision_history_revert_attribute'
|
||||
end
|
||||
resources :organizations, only: [:index]
|
||||
resources :organizations, only: [:index] do
|
||||
member do
|
||||
get :conferences
|
||||
end
|
||||
end
|
||||
resources :conferences, only: [:index, :show] do
|
||||
resources :booths do
|
||||
member do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue