Follow up to 152238b4cf
.
This commit is contained in:
parent
1e7c4592dc
commit
61cc0f8c5f
|
@ -37,11 +37,7 @@ class Embedding < OpenStruct
|
|||
|
||||
def self.find
|
||||
embedding_args = { id: 'default' }
|
||||
|
||||
Embedding.settings.each do |s|
|
||||
embedding_args[s] = SiteSetting.public_send(s)
|
||||
end
|
||||
|
||||
Embedding.settings.each { |s| embedding_args[s] = SiteSetting.get(s) }
|
||||
Embedding.new(embedding_args)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -53,7 +53,7 @@ module DiscourseNarrativeBot
|
|||
if (@skip && @state != :end)
|
||||
skip_tutorial(next_state)
|
||||
else
|
||||
self.public_send(action)
|
||||
self.send(action)
|
||||
end
|
||||
|
||||
if new_post
|
||||
|
|
Loading…
Reference in New Issue