MCPcopy Create free account
hub / github.com/codecombat/codecombat / getRenderData

Method getRenderData

app/views/editor/poll/PollSearchView.js:23–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 }
22
23 getRenderData () {
24 const context = super.getRenderData()
25 context.currentEditor = 'editor.poll_title'
26 context.currentNew = 'editor.new_poll_title'
27 context.currentNewSignup = 'editor.new_poll_title_login'
28 context.currentSearch = 'editor.poll_search_title'
29 context.newModelsAdminOnly = true
30 if (!me.isAdmin()) { context.unauthorized = true }
31 return context
32 }
33 }
34 PollSearchView.initClass()
35 return PollSearchView

Callers

nothing calls this directly

Calls 1

isAdminMethod · 0.80

Tested by

no test coverage detected