lib/miau.rb in miau-0.1.2 vs lib/miau.rb in miau-1.0.0

- old
+ new

@@ -2,10 +2,11 @@ require "active_support/concern" require "miau/version" require "miau/error" require "miau/storage" +require "miau/application_policy" module Miau extend ActiveSupport::Concern included do @@ -47,12 +48,11 @@ private def klass_action(hsh) klass = hsh[:class] - klass ||= params[:controller].camelize + klass ||= params[:controller] action = hsh[:action] action ||= params[:action] - [klass, action] end end