Sha256: ccf3ec23b05ada7d4b961e8c645e95ba383c6dd1b9bcb886adf95daf80f3e80f
Contents?: true
Size: 459 Bytes
Versions: 6
Compression:
Stored size: 459 Bytes
Contents
require_dependency "authz/application_controller" module Authz 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
6 entries across 6 versions & 1 rubygems