Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Scopes gallery to multisite
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app/models
db/migrate
lib
spec
.gitignore
README.markdown
Rakefile
dependency.yml
gallery_multisite_extension.rb

README.markdown

Gallery Multisite

This extension scopes galleries to sites. Spanners fork of multi-site is needed and does most of the work in the model (by putting a scope around find, essentially), so there are no controller modifications required.

Dependencies

Installation

You'll need to add ':gallery_observer' to the active record observers in your environment.rb connfig.

config.active_record.observers = [:user_action_observer, :gallery_observer]
Something went wrong with that request. Please try again.