Sha256: ad3311510269cd1bd8b5abc089743f17dfaf1cd8d770858b811bda17f3c6df66
Contents?: true
Size: 476 Bytes
Versions: 3
Compression:
Stored size: 476 Bytes
Contents
require_dependency "authz/application_controller" module Authz # @api private class Validations::ActionNamesController < ApplicationController def new _controller_name = params[:controller_name] _action_name = params[:controller_action][:action] found = ControllerAction.reachable_controller_actions[_controller_name].try(:include?, _action_name) respond_to do |format| format.json {render :json => found} end end end end
Version data entries
3 entries across 3 versions & 1 rubygems