Displaying 1 result from an estimated 1 matches for "spoilagecontroller".
2006 Mar 08
2
inheritance problem with controllers
i have a controller like this:
class SpoilageController < DataEntryController
before_filter { check_access_key(''_SP'') }
...
and in the parent class is this:
class DataEntryController < ApplicationController
def check_access_key(key)
if !@session[:user].admin &&
!@session[:user].data_entry_access.to_s.u...