Sha256: ec89c55038ad651794841384cd30f02272ede6fb3da79bb8718a59fd994f0675

Contents?: true

Size: 838 Bytes

Versions: 10

Compression:

Stored size: 838 Bytes

Contents

class FanforceApp::Sinatra

  def route_add_initiative_ui
    page :add_initiative, :layout => :add_edit_initiative, com_dir: "#{params[:com_behavior_shortid]}"
  end

  def route_convert_initiative_ui
    page :convert_initiative, :layout => :convert_initiative, com_dir: "#{params[:com_behavior_shortid]}"
  end

  def route_edit_initiative_ui
    page :edit_initiative, :layout => :add_edit_initiative, com_dir: "#{params[:com_behavior_shortid]}"
  end

  def route_engage_page_ui
    page :engage, :layout => :engage, com_dir: "#{params[:com_behavior_shortid]}"
  end

  def route_archive_initiative_callback
    json status: 'finished-processing'
  end

  def route_destroy_initiative_callback
    json status: 'finished-processing'
  end

  def route_autocreate_initiative_callback
    json status: 'finished-processing'
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fanforce-app-factory-1.6.3 lib/fanforce/app_factory/routes_behavior.rb
fanforce-app-factory-1.6.2 lib/fanforce/app_factory/routes_behavior.rb
fanforce-app-factory-1.6.1 lib/fanforce/app_factory/routes_behavior.rb
fanforce-app-factory-1.6.0 lib/fanforce/app_factory/routes_behavior.rb
fanforce-app-factory-1.5.0 lib/fanforce/app_factory/routes_behavior.rb
fanforce-app-factory-1.4.4 lib/fanforce/app_factory/routes_behavior.rb
fanforce-app-factory-1.4.3 lib/fanforce/app_factory/routes_behavior.rb
fanforce-app-factory-1.4.2 lib/fanforce/app_factory/routes_behavior.rb
fanforce-app-factory-1.4.1 lib/fanforce/app_factory/routes_behavior.rb
fanforce-app-factory-1.4.0 lib/fanforce/app_factory/routes_behavior.rb