def index
      set_index_options
      load_index if params[:reload].to_s.to_boolean(true)
      respond_to do |format|
        format.html # index.html.erb
        format.json { render json: { subscriptions: @subscriptions, unconfigured_notification_keys: @notification_keys } }
      end
    end
def index
      set_index_options
      load_index if params[:reload].to_s.to_boolean(true)
      respond_to do |format|
        format.html # index.html.erb
        format.json { render json: { subscriptions: @subscriptions, unconfigured_notification_keys: @notification_keys } }
      end
    end
Shows subscription index of the target.

 GET /:target_type/:target_id/subscriptions
 @overload index(params)
   @param [Hash] params Request parameter options for subscription index
   @option params [String] :filter          (nil)     Filter option to load subscription index (Nothing as all, 'configured' or 'unconfigured')
   @option params [String] :limit           (nil)     Limit to query for subscriptions
   @option params [String] :reverse         ('false') If subscription index and unconfigured notification keys will be ordered as earliest first
   @option params [String] :filtered_by_key (nil)     Key of the subscription for filter
   @return [Responce] HTML view as default or JSON of subscription index with json format parameter