Sha256: 80af08ccda973d2c27780044969a5732b3c44d7198ab17ec30c8fcd7b6305080

Contents?: true

Size: 379 Bytes

Versions: 9

Compression:

Stored size: 379 Bytes

Contents

class Admin::FlickrsController < Admin::BaseController
  def create
    flickr = Flickr.new("#{RAILS_ROOT}/config/flickr.yml")
    redirect_to flickr.auth.url(:write)
  end
  def show
    respond_to do |format|
      format.html do
        flickr = Flickr.new("#{RAILS_ROOT}/config/flickr.yml")
        flickr.auth.cache_token        
      end
      format.js
    end
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
beef-has_assets-0.3.1 app/controllers/admin/flickrs_controller.rb
beef-has_assets-0.3.2 app/controllers/admin/flickrs_controller.rb
beef-has_assets-0.3.3 app/controllers/admin/flickrs_controller.rb
beef-has_assets-0.3.4 app/controllers/admin/flickrs_controller.rb
beef-has_assets-0.3.5 app/controllers/admin/flickrs_controller.rb
beef-has_assets-0.3.6 app/controllers/admin/flickrs_controller.rb
beef-has_assets-0.3.7 app/controllers/admin/flickrs_controller.rb
beef-has_assets-0.3.8 app/controllers/admin/flickrs_controller.rb
beef-has_assets-0.3.9 app/controllers/admin/flickrs_controller.rb