5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-01 23:16:07 +00:00
panel/app/controllers/posts_controller.rb

13 lines
191 B
Ruby
Raw Normal View History

2018-01-29 22:19:10 +00:00
class PostsController < ApplicationController
before_action :authenticate!
def index
@site = find_site
end
2018-01-30 15:20:19 +00:00
def show
@site = find_site
@post = find_post(@site)
end
2018-01-29 22:19:10 +00:00
end