Project

dog_ears

0.0
No commit activity in last 3 years
No release in over 3 years
Generic in-app-bookmarks and bookmark-sharing based on URL routes.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 3.2.0
 Project Readme

DogEars¶ ↑

Gem for generic in-app-bookmarks and bookmark-sharing between users. Slightly WIP.

Gemfile¶ ↑

<pre>

gem 'dog_ears'

</pre>

routes.rb¶ ↑

Add dog_ears in the appropriate place

controller¶ ↑

Add a BookmarksController at the appropriate place. This needs to inherit fro your apps controllers, such that current_user is available:

<pre>

class Admin::...::BookmarksController < Admin::...::ApplicationController
  include DogEars::Controller
end

</pre>

views/layout¶ ↑

In you layout, use <%= dog_ears admin_..._bookmarks_path %> to inject the required html-code

stylesheets/javascript¶ ↑

//= require dog_ears/application as usual :)

Migrations¶ ↑

rake dog_ears:install:migrations

and then

rake db:migrate

License¶ ↑

This project rocks and uses MIT-LICENSE.

Copyright © 2013-2014 by Peter Horn, metaminded UG