Sha256: c42d595236a41a2c6cf26a3b60d081270715c66d0a2e00cc5102f985e06820f5
Contents?: true
Size: 1.42 KB
Versions: 1
Compression:
Stored size: 1.42 KB
Contents
LinkToAction.setup do |config| # Use CanCan, default false # config.use_cancan = false # Add icons to links, default false # config.use_icons = false # Place icons to left, default true # config.icons_place_left = true # Icons by default are adopted to font-awesome # Icons size, default 'large' # config.icons_size = 'large' # Icons for actions # config.icon_new = 'plus' # config.icon_show = '' # config.icon_index = '' # empty icon drops it # config.icon_edit = 'edit' # config.icon_destroy = 'trash' # config.icon_back = 'undo' # Use classes, default false # config.use_classes = false # Append classes when :class option is specified, default false # config.classes_append = false # Classes by default are adopted to twitter-bootstrap # config.class_default = 'btn' # Classes for actions # config.class_new = 'btn-primary' # config.class_index = '' # empty class overwrites default # config.class_edit = nil # config.class_destroy = 'btn-danger' # config.class_back = nil # Size can be set using class, by default is adopted to twitter-bootstrap # config.size_class_default = nil # config.size_class_large = 'btn-large' # config.size_class_small = 'btn-small' # config.size_class_mini = 'btn-mini' # Methods for link_to_show # config.show_methods = [ :name, :to_s ] # Destroy link options # config.destroy_confirm = true # config.destroy_skip_pjax = false end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
link_to_action-0.2.5 | lib/generators/link_to_action/templates/link_to_action.rb |