Class: StaticPagesController
Instance Method Summary
collapse
#preferences_customer_type=, #preferences_customer_type?, #signed_in?, #signed_in_user, #store_location
Instance Method Details
#about ⇒ Object
18
19
|
# File 'app/controllers/static_pages_controller.rb', line 18
def about
end
|
21
22
|
# File 'app/controllers/static_pages_controller.rb', line 21
def contact
end
|
#help ⇒ Object
15
16
|
# File 'app/controllers/static_pages_controller.rb', line 15
def help
end
|
#home ⇒ Object
8
9
10
11
12
13
|
# File 'app/controllers/static_pages_controller.rb', line 8
def home
if signed_in?
@micropost = current_user.microposts.build
@feed_items = current_user.feed.paginate(page: params[:page])
end
end
|