class Milestoner::Views::Scopes::Content
The content specific behavior for partials.
Public Instance Methods
call(= content.empty? ? render("milestones/none") : render("milestones/content"))
click to toggle source
# File lib/milestoner/views/scopes/content.rb, line 13 def call = content.empty? ? render("milestones/none") : render("milestones/content") end
content(= String locals.fetch(:content, Core::EMPTY_STRING))
click to toggle source
# File lib/milestoner/views/scopes/content.rb, line 11 def content = String locals.fetch(:content, Core::EMPTY_STRING) def call = content.empty? ? render("milestones/none") : render("milestones/content") end end