VRFS-4070 - fix cha by fix PostPrecossorMixin
This commit is contained in:
parent
5ce780f03b
commit
30aec92512
|
|
@ -155,7 +155,7 @@ module JamRuby
|
|||
|
||||
analysis = LessonSessionAnalyser.analyse(self)
|
||||
|
||||
self.analysis = analysis_to_json(analysis)
|
||||
self.analysis = LessonSession.analysis_to_json(analysis)
|
||||
self.success = analysis[:bill]
|
||||
self.analysed_at = Time.now
|
||||
self.analysed = true
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ teacherActions = window.JK.Actions.Teacher
|
|||
user.musician_profile = '/client#/profile/' + user.id
|
||||
user.best_profile = user.musician_profile
|
||||
|
||||
if user.is_a_teacher
|
||||
if user.is_a_teacher && user.teacher?
|
||||
cheapest_lesson_stmt = '(no pricing set yet)'
|
||||
lowestPrice = null
|
||||
lowestDuration = null
|
||||
|
|
|
|||
|
|
@ -9,6 +9,9 @@
|
|||
<!--<link href='http://fonts.googleapis.com/css?family=Raleway:100,200,300,400,500,600,700' rel='stylesheet' type='text/css'>-->
|
||||
<%= stylesheet_link_tag "client/client", media: "all" %>
|
||||
<%= include_gon %>
|
||||
<% if Rails.env.test? %>
|
||||
<%= javascript_include_tag "sinon" %>
|
||||
<% end %>
|
||||
<%= javascript_include_tag "application" %>
|
||||
<%= csrf_meta_tags %>
|
||||
<meta name="description" content="Enter here to browse the JamKazam platform">
|
||||
|
|
|
|||
Loading…
Reference in New Issue