Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- notification do
- controller :photos do
- action :create do
- role :admin do
- notify_through :rss
- end
- role :hotelier do
- notify_through :email
- end
- end
- end
- controller :maps do
- action :destroy do
- role :hotelier do
- notify_through [:rss, :email]
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment