Class: NotifyUser::NotificationsController

Inherits:
BaseNotificationsController show all
Defined in:
app/controllers/notify_user/notifications_controller.rb,
lib/generators/notify_user/install/templates/notifications_controller.rb

Instance Method Summary collapse

Methods inherited from BaseNotificationsController

#collection, #collection_pagination, #index, #mark_all, #mark_read, #mass_subscriptions, #notifications_count, #read, #respond_to_method, #subscribe, #subscriptions, #unauth_unsubscribe, #unsubscribe, #unsubscribe_from_object, #update_subscriptions

Instance Method Details

#redirect_logic(notification) ⇒ Object



2
3
4
5
6
7
# File 'app/controllers/notify_user/notifications_controller.rb', line 2

def redirect_logic(notification)
	render :text => "set redirect logic in notify_user/notifications_controller.rb"
	#notification redirect logic goes here
	#property = Property.find(@notification.params[:property_id])
	#redirect_to property_url(@property)
end