Sha256: f683cffdf737937b363bdf5faf18cd6af17f806eb9d52a81b9ce124873b460a7
Contents?: true
Size: 814 Bytes
Versions: 96
Compression:
Stored size: 814 Bytes
Contents
# Filters added to this controller apply to all controllers in the application. # Likewise, all the methods added will be available for all controllers. class ApplicationController < ActionController::Base include Six::Import::Controller::ClassMethods # Somehow the casual extend doesnt work, unknown action etc :S #helper :all # include all helpers, all the time protect_from_forgery # See ActionController::RequestForgeryProtection for details ActiveScaffold.set_defaults do |config| config = self config.actions.exclude :search config.actions.add :advanced_search, :customize, :refresh #config.security.default_permission = false #config.security.current_user_method = :current_login #config.theme = :brown end before_filter :six_local_auto_login end
Version data entries
96 entries across 96 versions & 1 rubygems