Commit
a79f28316c2c7291ce7d70f5712cf6939614a8be
Exists in
master
and in
49 other branches
add_sisp_to_chef, add_super_archives_plugin, automates_core_packing, backup_not_prod, changes_in_buttons_on_content_panel, colab_automated_login, colab_spb_plugin_recipe, colab_widgets_settings, disable_email_dev, fix_breadcrumbs_position, fix_categories_software_link, fix_edit_institution, fix_edit_software_with_another_license, fix_get_license_info, fix_gitlab_assets_permission, fix_list_style_inside_article, fix_list_style_on_folder_elements, fix_members_pagination, fix_merge_request_url, fix_models_translations, fix_no_license, fix_software_block_migration, fix_software_communities_translations, fix_software_communities_unit_test, fix_style_create_institution_admin_panel, fix_superarchives_imports, fix_sym_links_noosfero, header_fix, kalibro-processor-package, lxc_settings, margin_fix, mezuro_cookbook, refactor_download_block, remove_broken_theme, remove_secondary_email_from_user, remove_sisp_buttons, sisp_catalog_header, sisp_dev_master, software_catalog_style_fix, software_communities_html_refactor, software_infos_api, spb_to_rails4, stable-4.1, stable-4.2, theme_header, theme_javascript_refactory, thread_dropdown, update_search_by_categories, update_softwares_boxes
Fixs relative url for gitlab assets.
Signed-off-by: Macartur Sousa <macartur.sc@gmail.com>
| @@ -94,3 +94,7 @@ execute 'selinux-gitlab' do |
| @@ -94,3 +94,7 @@ execute 'selinux-gitlab' do |
94
| command 'selinux-install-module /etc/selinux/local/gitlab.te' |
94
| command 'selinux-install-module /etc/selinux/local/gitlab.te' |
95
| action :nothing |
95
| action :nothing |
96
| end |
96
| end |
| |
97
| + |
| |
98
| +execute 'fix-relative-url-for-assets' do |
| |
99
| + command 'sed -i \'s/# config.relative_url_root = "\/gitlab"/config.relative_url_root = "\/gitlab"/\' config/application.rb' |
| |
100
| +end |