Sha256: fc653917e28020a9e46e9db05818e6981cb92487895e61fbc4fda585dfc52698

Contents?: true

Size: 636 Bytes

Versions: 7

Compression:

Stored size: 636 Bytes

Contents

#:nodoc:
module Zen
  #:nodoc:
  module Controller
    ##
    # The BaseController is extended by both the FrontendController and the
    # BackendController. This controller is mostly used to set and retrieve
    # data that's used in both the backend and the frontend.
    #
    # @since  0.1
    #
    class BaseController < Ramaze::Controller
      helper :user, :csrf, :message, :cgi, :locale, :controller,
        :blue_form, :paginate, :stacked_aspect

      # Configure the pagination helper
      trait :paginate => {
        :limit => 20,
        :var   => 'page'
      }
    end # BaseController
  end # Controller
end # Zen

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
zen-0.4.3 lib/zen/controller/base_controller.rb
zen-0.4.2 lib/zen/controller/base_controller.rb
zen-0.4.1 lib/zen/controller/base_controller.rb
zen-0.4 lib/zen/controller/base_controller.rb
zen-0.3 lib/zen/controller/base_controller.rb
zen-0.3b1 lib/zen/controller/base_controller.rb
zen-0.3b lib/zen/controller/base_controller.rb