Sha256: 2a2a9c598f759c2ab530187ecaf212d44e5b6731543ff3f341fb7e44366b1aa3
Contents?: true
Size: 1.28 KB
Versions: 16
Compression:
Stored size: 1.28 KB
Contents
class <%= @target_prefix %>SubscriptionsController < ActivityNotification::SubscriptionsController # GET /:target_type/:target_id/subscriptions # def index # super # end # POST /:target_type/:target_id/subscriptions # def create # super # end # GET /:target_type/:target_id/subscriptions/:id # def show # super # end # DELETE /:target_type/:target_id/subscriptions/:id # def destroy # super # end # POST /:target_type/:target_id/subscriptions/:id/subscribe # def subscribe # super # end # POST /:target_type/:target_id/subscriptions/:id/unsubscribe # def unsubscribe # super # end # POST /:target_type/:target_id/subscriptions/:id/subscribe_to_email # def subscribe_to_email # super # end # POST /:target_type/:target_id/subscriptions/:id/unsubscribe_to_email # def unsubscribe_to_email # super # end # protected # def set_target # super # end # def set_subscription # super # end # def subscription_params # super # end # def set_index_options # super # end # def load_index # super # end # def controller_path # super # end # def target_view_path # super # end # def set_view_prefixes # super # end # def return_back_or_ajax # super # end end
Version data entries
16 entries across 16 versions & 1 rubygems