Sha256: 50944e98a237b0afbeba7f99336cfc4b68c28a58a1ff0b3b722c733ba733a02b
Contents?: true
Size: 564 Bytes
Versions: 8
Compression:
Stored size: 564 Bytes
Contents
# Define a subclass of Ramaze::Controller holding your defaults for all controllers. Note # that these changes can be overwritten in sub controllers by simply calling the method # but with a different value. class Controller < Ramaze::Controller layout :default helper :xhtml engine :etanni end # Here you can require all your other controllers. Note that if you have multiple # controllers you might want to do something like the following: # # Dir.glob('controller/*.rb').each do |controller| # require(controller) # end # require __DIR__('main')
Version data entries
8 entries across 8 versions & 1 rubygems