class Posts::IndexPage

Defined in:

pages/posts/index_page.cr

Constant Summary

ASSIGNS = [context : HTTP::Server::Context, current_user : User, posts : PostQuery] of Nil

Constructors

Instance Method Summary

Instance methods inherited from class MainLayout

content content, current_user current_user, page_title page_title, render render

Constructor Detail

def self.new(context : HTTP::Server::Context, current_user : User, posts : PostQuery, **unused_exposures) #

Instance Method Detail

def content #

[View source]
def page_title #

[View source]
def posts : PostQuery #

def render_posts #

[View source]