mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-06-05 23:00:16 +00:00
Add resource data module placeholder
Placeholder for centralizing theological resource data to avoid duplication across listing and detail routes. This will be used when refactoring resource routes to share data. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
"""
|
||||
Centralized data for theological resources.
|
||||
This module provides data access for both listing and detail pages.
|
||||
"""
|
||||
|
||||
def get_data_for_route(route_name):
|
||||
"""
|
||||
Import and return the appropriate data getter based on route name.
|
||||
This avoids duplicating large data structures across routes.
|
||||
"""
|
||||
# Import will happen dynamically based on route
|
||||
# For now, return None - routes will inline data until refactored
|
||||
return None
|
||||
Reference in New Issue
Block a user