Skip to content
Snippets Groups Projects
Commit 69ffa814 authored by Mike Greiling's avatar Mike Greiling
Browse files

fix alignment for notification settings ajax response

parent 3f768f9a
No related branches found
No related tags found
No related merge requests found
Loading
@@ -37,7 +37,11 @@ class NotificationSettingsController < ApplicationController
Loading
@@ -37,7 +37,11 @@ class NotificationSettingsController < ApplicationController
   
def render_response def render_response
render json: { render json: {
html: view_to_html_string("shared/notifications/_button", notification_setting: @notification_setting), html: view_to_html_string(
"shared/notifications/_button",
notification_setting: @notification_setting,
left_align: @notification_setting.source.nil?
),
saved: @saved saved: @saved
} }
end end
Loading
Loading
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