Sha256: 223c71291c362e4bdf8f7e0e6109ed098a32c4b1e2fe4fdddffa2c9b4c597317
Contents?: true
Size: 642 Bytes
Versions: 2
Compression:
Stored size: 642 Bytes
Contents
require_dependency "okuribito_rails/application_controller" module OkuribitoRails class MethodCallSituationsController < ApplicationController def index @method_call_situations = MethodCallSituation .search(method_call_situation_params.presence || {}) .page(params[Kaminari.config.param_name]) .order(class_name: :asc, method_symbol: :asc, method_name: :asc) end private def method_call_situation_params params.permit(:class_name, :method_name, :x_days_passed, :uncalled_method, :called_method) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
okuribito_rails-0.2.4 | app/controllers/okuribito_rails/method_call_situations_controller.rb |
okuribito_rails-0.2.3 | app/controllers/okuribito_rails/method_call_situations_controller.rb |