lib/flipper/api/action.rb in flipper-api-0.16.0 vs lib/flipper/api/action.rb in flipper-api-0.16.1
- old
+ new
@@ -8,10 +8,10 @@
class Action
module FeatureNameFromRoute
def feature_name
@feature_name ||= begin
match = request.path_info.match(self.class.route_regex)
- match ? match[:feature_name] : nil
+ match ? Rack::Utils.unescape(match[:feature_name]) : nil
end
end
private :feature_name
end