sillyforum/app/controllers/forum_threads_controller.rb
2026-03-18 01:09:39 +00:00

15 lines
348 B
Ruby

class ForumThreadsController < ApplicationController
def index
end
def show
id = params.extract_value(:id)
@category = Category.find(params[:category_id])
@forum_topic = @category.forum_topics.find(params[:forum_topic_id])
@forum_thread = @category.forum_topics.forum_threads.find(params[:forum_thread_id])
end
end
end
end