2014-11-06 14:46:59 +01:00
|
|
|
class StaticPagesController < ApplicationController
|
|
|
|
def home
|
2014-11-10 02:30:42 +01:00
|
|
|
if logged_in?
|
|
|
|
@order = current_user.orders.build if logged_in?
|
|
|
|
@logs = current_user.feed.paginate(page: params[:page])
|
|
|
|
end
|
2014-11-06 14:46:59 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
def overview
|
|
|
|
@users = User.all
|
|
|
|
end
|
|
|
|
|
|
|
|
def order
|
|
|
|
end
|
2014-11-06 18:30:53 +01:00
|
|
|
|
|
|
|
def help
|
|
|
|
end
|
|
|
|
|
2014-11-06 14:46:59 +01:00
|
|
|
end
|