Module: Frill::Auto

Defined in:
lib/frill/rails.rb

Instance Method Summary collapse

Instance Method Details

#view_assignsObject



3
4
5
6
7
8
9
10
11
# File 'lib/frill/rails.rb', line 3

def view_assigns
  new_hash = {}

  super.each do |key,value|
    new_hash[key] = frill value
  end

  new_hash
end