Sha256: 3421041ba15e48d83a7e84eaa829f42e652eadffcb02b6030c30dc3061e8ad1c
Contents?: true
Size: 302 Bytes
Versions: 2
Compression:
Stored size: 302 Bytes
Contents
class BaseView < ::Aldous::Respondable::Renderable def default_template_locals { current_user: current_user, header_view: header_view, } end def current_user view_data.current_user end private def header_view view_builder.build(Modules::HeaderView) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aldous-1.1.3 | examples/basic_todo/app/views/base_view.rb |
aldous-1.1.2 | examples/basic_todo/app/views/base_view.rb |