Follow-up - 28d1594956
- Fixes #3580 - Add description to package manager GUI.
This commit is contained in:
parent
28d1594956
commit
fa7c4210bb
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ class PackagesController < ApplicationController
|
||||||
# GET /api/v1/packages
|
# GET /api/v1/packages
|
||||||
def index
|
def index
|
||||||
packages = Package.all.order('name')
|
packages = Package.all.order('name')
|
||||||
commands = ['rails zammad:db:migrate', 'rails assets:precompile']
|
commands = ['rails zammad:package:migrate', 'rails assets:precompile']
|
||||||
if File.exist?('/usr/bin/zammad')
|
if File.exist?('/usr/bin/zammad')
|
||||||
commands.map! { |s| "zammad run #{s}" }
|
commands.map! { |s| "zammad run #{s}" }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue