Sha256: 7e8dc5e350e75480d67a684c8b18332b73479520aca33e72328856d90582e690

Contents?: true

Size: 411 Bytes

Versions: 71

Compression:

Stored size: 411 Bytes

Contents

class NotifyUser::NotificationsController < NotifyUser::BaseNotificationsController 
	def redirect_logic(notification)
		render :text => "set redirect logic in notify_user/notifications_controller.rb"
		# notification redirect logic goes here
		# class_name = notification.params[:type].capitalize.constantize
		# object = class_name.find(@notification.params[:id])
		# redirect_to property_url(object)
	end
end

Version data entries

71 entries across 28 versions & 1 rubygems

Version Path
notify_user-0.3.2 spec/dummy/rails-4.1.0/app/controllers/notify_user/notifications_controller.rb
notify_user-0.3.2 lib/generators/notify_user/install/templates/notifications_controller.rb
notify_user-0.3.1 lib/generators/notify_user/install/templates/notifications_controller.rb
notify_user-0.3.1 spec/dummy/rails-4.1.0/app/controllers/notify_user/notifications_controller.rb
notify_user-0.1.4 spec/dummy/rails-3.2.17/app/controllers/notify_user/notifications_controller.rb
notify_user-0.1.4 spec/dummy/rails-4.1.0/app/controllers/notify_user/notifications_controller.rb
notify_user-0.1.4 spec/dummy/rails-4.0.4/app/controllers/notify_user/notifications_controller.rb
notify_user-0.1.4 lib/generators/notify_user/install/templates/notifications_controller.rb
notify_user-0.1.3 lib/generators/notify_user/install/templates/notifications_controller.rb
notify_user-0.1.3 spec/dummy/rails-4.1.0/app/controllers/notify_user/notifications_controller.rb
notify_user-0.1.3 spec/dummy/rails-4.0.4/app/controllers/notify_user/notifications_controller.rb
notify_user-0.1.3 spec/dummy/rails-3.2.17/app/controllers/notify_user/notifications_controller.rb
notify_user-0.1.2 spec/dummy/rails-3.2.17/app/controllers/notify_user/notifications_controller.rb
notify_user-0.1.2 spec/dummy/rails-4.0.4/app/controllers/notify_user/notifications_controller.rb
notify_user-0.1.2 lib/generators/notify_user/install/templates/notifications_controller.rb
notify_user-0.1.2 spec/dummy/rails-4.1.0/app/controllers/notify_user/notifications_controller.rb
notify_user-0.1.1 spec/dummy/rails-3.2.17/app/controllers/notify_user/notifications_controller.rb
notify_user-0.1.1 spec/dummy/rails-4.1.0/app/controllers/notify_user/notifications_controller.rb
notify_user-0.1.1 spec/dummy/rails-4.0.4/app/controllers/notify_user/notifications_controller.rb
notify_user-0.1.1 lib/generators/notify_user/install/templates/notifications_controller.rb