Sha256: 1761aa5625cd5676cd2ad31987fe888a69aace85796f925041f657a7a031289c

Contents?: true

Size: 352 Bytes

Versions: 1

Compression:

Stored size: 352 Bytes

Contents

# Filters added to this controller will be run for all controllers in
# the application.  Likewise, all the methods added will be available
# for all controllers.

class ApplicationController < ActionController::Base
  session :disabled => true

  def sort_key(key_sym, key_sql)
    params[key_sym].split(".").map{ |k| key_sql[k] }.join(",")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bacuview-1.5 app/controllers/application.rb