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

Version Path
ramaze-2023.01.06 lib/proto/controller/init.rb
ramaze-2012.12.08 lib/proto/controller/init.rb
ramaze-2012.12.08b lib/proto/controller/init.rb
ramaze-2012.04.14 lib/proto/controller/init.rb
ramaze-2012.03.07 lib/proto/controller/init.rb
ramaze-2011.12.28 lib/proto/controller/init.rb
ramaze-2011.10.23 lib/proto/controller/init.rb
ramaze-2011.07.25 lib/proto/controller/init.rb