Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- respond_to do |format|
- format.json {
- render :json => {
- :block => new_block,
- :html => render(:partial => "projects/sidebar_block.html.haml", :locals => {:block => new_block})
- }.to_json
- }
- end
Add Comment
Please, Sign In to add comment