Commit c6b27550 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Let User class handle resource loading

parent 4c4d7424
......@@ -88,7 +88,7 @@
#activity.tab-pane.active
.gray-content-block.white.second-block
%div{ class: container_class }
.user-calendar
.user-calendar{data: {url: user_calendar_path}}
%h4.center.light
%i.fa.fa-spinner.fa-spin
.user-calendar-activities
......@@ -107,6 +107,3 @@
.loading-status
= spinner
:javascript
$(".user-calendar").load("#{user_calendar_path}");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment