Skip to content
Snippets Groups Projects
Commit 1f2f7eb3 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

fix

parent 18f2b7dd
No related branches found
No related tags found
No related merge requests found
......@@ -10,8 +10,8 @@ $(function () {
type: 'POST',
url: target,
data: {
object_id: id,
object_type: type
objectId: id,
objectType: type
}
}).done(function () {
location.reload();
......
.ui-autocomplete
list-style: none
padding: 0
max-width: 400px
padding: 0
.ui-menu-item
background: #F6F6F6
border-bottom: 1px solid #999999
......
......@@ -111,8 +111,8 @@ class Admin::Communication::Websites::PagesController < Admin::Communication::We
protected
def load_object
object_type = params[:object_type]
object_id = params[:object_id]
object_type = params[:objectType]
object_id = params[:objectId]
@object = object_type.constantize.find object_id
end
......
......@@ -6,11 +6,19 @@
# about_type :string indexed => [about_id]
# color :string
# cookies_policy :text
# css :text
# feature_alumni :boolean default(FALSE)
# feature_assets :boolean default(FALSE)
# feature_contacts :boolean default(FALSE)
# feature_jobs :boolean default(FALSE)
# feature_posts :boolean default(FALSE)
# has_sso :boolean default(FALSE)
# home_sentence :text
# host :string
# name :string
# privacy_policy :text
# registration_contact :string
# sass :text
# sso_button_label :string
# sso_cert :text
# sso_mapping :jsonb
......
......@@ -22,7 +22,7 @@
<tr>
<td><%= link_to organization, [:admin, organization] %></td>
<td><%= link_to 'Déconnecter',
disconnect_admin_communication_website_page_path(@page, object_id: organization.id, object_type: organization.class),
disconnect_admin_communication_website_page_path(@page, objectId: organization.id, objectType: organization.class),
class: button_classes_danger,
method: :post %></td>
</tr>
......
......@@ -6,11 +6,19 @@
# about_type :string indexed => [about_id]
# color :string
# cookies_policy :text
# css :text
# feature_alumni :boolean default(FALSE)
# feature_assets :boolean default(FALSE)
# feature_contacts :boolean default(FALSE)
# feature_jobs :boolean default(FALSE)
# feature_posts :boolean default(FALSE)
# has_sso :boolean default(FALSE)
# home_sentence :text
# host :string
# name :string
# privacy_policy :text
# registration_contact :string
# sass :text
# sso_button_label :string
# sso_cert :text
# sso_mapping :jsonb
......@@ -37,4 +45,4 @@ default_extranet:
name: Extranet de test
host: extranet.osuny.test
about: default_program (Education::Program)
university: default_university
\ No newline at end of file
university: default_university
......@@ -6,11 +6,19 @@
# about_type :string indexed => [about_id]
# color :string
# cookies_policy :text
# css :text
# feature_alumni :boolean default(FALSE)
# feature_assets :boolean default(FALSE)
# feature_contacts :boolean default(FALSE)
# feature_jobs :boolean default(FALSE)
# feature_posts :boolean default(FALSE)
# has_sso :boolean default(FALSE)
# home_sentence :text
# host :string
# name :string
# privacy_policy :text
# registration_contact :string
# sass :text
# sso_button_label :string
# sso_cert :text
# sso_mapping :jsonb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment