Sha256: 28d0603425d85af60758d668c223695ec1148cf7c5bf1d7d21f2322a65e0b50a
Contents?: true
Size: 1.33 KB
Versions: 6
Compression:
Stored size: 1.33 KB
Contents
class <%= @target_prefix %>NotificationsWithDeviseController < ActivityNotification::NotificationsWithDeviseController # 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 # def authenticate_devise_resource! # super # end # def authenticate_target! # super # end end
Version data entries
6 entries across 6 versions & 1 rubygems