Sha256: fc65321449f43ee8bbfa847a020b9ffb3308eacd479238d09783e1a54eb6eb89
Contents?: true
Size: 524 Bytes
Versions: 9
Compression:
Stored size: 524 Bytes
Contents
# encoding: utf-8 if defined?(::Link2) ::Link2.setup do |config| # Configure how - and in what order - link labels should be looked up. # config.i18n_scopes = ['{{model}}.links.{{action}}', 'links.{{action}}'] # # Configure any custom action mappings. # config.action_mappings = { # :home => lambda { root_path }, # :back => lambda { |url| url || session[:return_to] || :back } # } # # Enable/Disable Link2 DOM selectors generation. # config.dom_selectors = true end end
Version data entries
9 entries across 9 versions & 1 rubygems