Sha256: 29b9c7f55e97f25ee569ba690aff35718c8bfb4c070d026ecc702cfbc7408341
Contents?: true
Size: 490 Bytes
Versions: 33
Compression:
Stored size: 490 Bytes
Contents
class MainController < ModelController def index # Add code for when the index view is loaded end def about # Add code for when the about view is loaded end private # the main template contains a #template binding that shows another # template. This is the path to that template. It may change based # on the params._controller and params._action values. def main_path params._controller.or('main') + "/" + params._action.or('index') end end
Version data entries
33 entries across 31 versions & 1 rubygems