Revision d995ecb4
Added by Paul Kelly almost 14 years ago
- ID d995ecb41af4d4cb394e89a12983dc168fcf97a3
app/controllers/common_parameters_controller.rb | ||
---|---|---|
class CommonParametersController < ApplicationController
|
||
def index
|
||
@common_parameters = CommonParameter.all
|
||
@search = CommonParameter.search(params[:search])
|
||
@common_parameters = @search.paginate(:page => params[:page])
|
||
end
|
||
|
||
def new
|
Also available in: Unified diff
Ensure that all index views and controllers are consistent
Ensures that all controllers use @search in the index method
Ensure that all index views use pagination