Sha256: 90bfce093395aec8d17d824be6c84a3834493c0d5c829bf05db1bfc1f5cb86e6

Contents?: true

Size: 970 Bytes

Versions: 4

Compression:

Stored size: 970 Bytes

Contents

LinkToAction.setup do |config|
  # Use CanCan, default false
  # config.use_cancan = false

  # Add icons to links, default false
  # config.use_icons = false

  # 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_edit = 'edit'
  # config.icon_destroy = 'trash'
  # config.icon_back = 'undo'

  # Use classes, default false
  # config.use_classes = false

  # Classes by default are adopted to twitter-bootstrap
  # config.class_default = 'btn'

  # Classes for actions
  # config.class_new = 'btn-primary'
  # 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'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
link_to_action-0.1.3 lib/generators/link_to_action/templates/link_to_action.rb
link_to_action-0.1.2 lib/generators/link_to_action/templates/link_to_action.rb
link_to_action-0.1.1 lib/generators/link_to_action/templates/link_to_action.rb
link_to_action-0.1.0 lib/generators/link_to_action/templates/link_to_action.rb