7 lines
148 B
Ruby
7 lines
148 B
Ruby
class DashboardController < ApplicationController
|
|
before_filter :authenticate_user!
|
|
|
|
def index
|
|
@posts = Post.recent_ordered_posts
|
|
end
|
|
end
|