Created
October 14, 2009 20:31
-
-
Save inklesspen/210373 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def render_action(): | |
| # actually getting the controller and action names from the environment is left as an exercise for the reader | |
| controller = "foo" | |
| action = "bar" | |
| template_name = "%s/%s.mako" % (controller, action) | |
| return render_mako(template_name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment