Sha256: b1c1bffdce15d669e805aad5db0652e745ffc2fe7fdc2285d8e923befda34577

Contents?: true

Size: 283 Bytes

Versions: 4

Compression:

Stored size: 283 Bytes

Contents

class LinksController < ApplicationController
  include SocialStream::Controllers::Objects

  def create
    super do |format|
      format.json { render :json => resource }
      format.js { render }
      format.all {redirect_to link_path(resource) || home_path}
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
social_stream-0.30.2 linkser/app/controllers/links_controller.rb
social_stream-0.30.1 linkser/app/controllers/links_controller.rb
social_stream-0.30.0 linkser/app/controllers/links_controller.rb
social_stream-linkser-0.15.0 app/controllers/links_controller.rb