Sha256: 485c97ab21014211d0cdfa61b7ad7dab976f3378ad2b14305d62bb731d518c5b
Contents?: true
Size: 1.2 KB
Versions: 6
Compression:
Stored size: 1.2 KB
Contents
class <%= @target_prefix %>NotificationsController < ActivityNotification::NotificationsController # GET /:target_type/:target_id/notifcations # def index # super # end # POST /:target_type/:target_id/notifcations/open_all # def open_all # super # end # GET /:target_type/:target_id/notifcations/:id # def show # super # end # DELETE /:target_type/:target_id/notifcations/:id # def destroy # super # end # POST /:target_type/:target_id/notifcations/:id/open # def open # super # end # GET /:target_type/:target_id/notifcations/:id/move # def move # super # end # No action routing # This method is called from target_view_path method # This method can be overriden # def controller_path # super # end # No action routing # This method needs to be public since it is called from view helper # def target_view_path # super # end # protected # def set_target # super # end # def set_notification # super # end # def load_notification_index(filter, limit) # super(filter, limit) # end # def set_view_prefixes # super # end # def return_back_or_ajax(filter, limit) # super(filter, limit) # end end
Version data entries
6 entries across 6 versions & 1 rubygems