Uicon

Gives designers a folder to add their static HTML files for developers to wire up, and development routes for viewing them. This idea is not mine, credit goes to whoever made this at Hashrocket. http://hashrocket.com/blog/posts/managing-design-handoffs-with-the-ui-controller

Installation

Add this line to your application's Gemfile:

gem 'uicon'

And then execute:

$ bundle

Or install it yourself as:

$ gem install uicon

Usage

Simply run

rails g uicon:install

And a controller, route, and index view will be created for you. Any Haml or ERB file that is added to the views/ui folder will be visible in development at /ui.

The generator will add a 'get ui/index' route to your routes when it generates the controller. To make sure the UI controller isn't a path in development, youshould delete this line.

Contributing

  1. Fork it ( http://github.com//uicon/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request