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