Sha256: 7a3b78381013df7884020a0483b8e07dfdc097cdb5f48e891d658f07cc73009d
Contents?: true
Size: 1.32 KB
Versions: 1
Compression:
Stored size: 1.32 KB
Contents
= Wizard Of Awes A simple snippet manager for creating and inserting snippets of HTML into your application for Rails 3.1+ == Features === Simple 1 tag. 1 simple CRUD admin interface for managing snippets === Easy to use Just install the gem and restart your server. You can then start adding and including snippets. == Supported versions * Ruby 1.8.7, 1.9.2, 1.9.3 (trunk) * Rails 3.1+ (edge) == Install Put this line in your Gemfile: gem 'wizard_of_awes' Then bundle: % bundle Run the generator: % rails g wizard_of_awes:install Migration: % bundle exec rake db:migrate == Usage === General configuration options You can configure the following default values by overriding these values using <tt>WizardOfAwes.configure</tt> method. helper_auth # WizardOfAwes::HelperAuth by default snippet_route_prefix # 'woa-snippets' by default === Helper Options * woa_snippet <%= woa_snippet %> This would try and find a snippet with the key of the current page's full path. * woa_snippet(key) <%= woa_snippet('my_key') %> This would try and find a snippet with the key of 'my_key'. == Questions, Feedback Feel free to message me on Github (agmattbrand) or Twitter (@agmattbrand) == Contributing to Wizard Of Awes * Fork, fix, then send me a pull request. == Copyright Copyright (c) 2011 Matt Brand.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wizard_of_awes-0.0.2 | README.rdoc |